aboutsummaryrefslogtreecommitdiffstats
path: root/c_compiler/test/in/short.c
diff options
context:
space:
mode:
Diffstat (limited to 'c_compiler/test/in/short.c')
-rw-r--r--c_compiler/test/in/short.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/c_compiler/test/in/short.c b/c_compiler/test/in/short.c
new file mode 100644
index 0000000..2e0b96c
--- /dev/null
+++ b/c_compiler/test/in/short.c
@@ -0,0 +1,9 @@
+short f(short a)
+{
+ return a;
+}
+
+int main()
+{
+ return f(5);
+}