aboutsummaryrefslogtreecommitdiffstats
path: root/test/regression/casts2.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/regression/casts2.c')
-rw-r--r--test/regression/casts2.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/test/regression/casts2.c b/test/regression/casts2.c
new file mode 100644
index 00000000..b7620764
--- /dev/null
+++ b/test/regression/casts2.c
@@ -0,0 +1,16 @@
+#include <stdint.h>
+#include <stdio.h>
+
+uint16_t func_46(void)
+{
+ int8_t l_48 = 0xA0;
+ return l_48;
+}
+
+int main(void)
+{
+ int32_t t_3 = 0;
+ t_3 = func_46();
+ printf("t_3 = %d\n", t_3);
+ return 0;
+}