summaryrefslogtreecommitdiff
path: root/testsuite/tests/codeGen/should_run/T20735/T20735_c.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/codeGen/should_run/T20735/T20735_c.c')
-rw-r--r--testsuite/tests/codeGen/should_run/T20735/T20735_c.c32
1 files changed, 32 insertions, 0 deletions
diff --git a/testsuite/tests/codeGen/should_run/T20735/T20735_c.c b/testsuite/tests/codeGen/should_run/T20735/T20735_c.c
new file mode 100644
index 0000000000..890d09199a
--- /dev/null
+++ b/testsuite/tests/codeGen/should_run/T20735/T20735_c.c
@@ -0,0 +1,32 @@
+#include <stdio.h>
+#include <stdint.h>
+
+
+int64_t func64(int64_t targetType)
+{
+ printf("%d\n", (int)targetType);
+ fflush(stdout);
+ return (-1);
+}
+
+int32_t func32(int32_t targetType)
+{
+ printf("%d\n", (int)targetType);
+ fflush(stdout);
+ return (-1);
+}
+
+int16_t func16(int16_t targetType)
+{
+ printf("%d\n", (int)targetType);
+ fflush(stdout);
+ return (-1);
+}
+
+int8_t func8(int8_t targetType)
+{
+ printf("%d\n", (int)targetType);
+ fflush(stdout);
+ return (-1);
+}
+