aboutsummaryrefslogtreecommitdiff
path: root/SingleSource/Regression/C/gcc-c-torture/execute/pr44828.c
diff options
context:
space:
mode:
Diffstat (limited to 'SingleSource/Regression/C/gcc-c-torture/execute/pr44828.c')
-rw-r--r--SingleSource/Regression/C/gcc-c-torture/execute/pr44828.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/SingleSource/Regression/C/gcc-c-torture/execute/pr44828.c b/SingleSource/Regression/C/gcc-c-torture/execute/pr44828.c
new file mode 100644
index 00000000..a8432dd7
--- /dev/null
+++ b/SingleSource/Regression/C/gcc-c-torture/execute/pr44828.c
@@ -0,0 +1,18 @@
+extern void abort (void);
+
+static signed char
+foo (signed char si1, signed char si2)
+{
+ return si1 * si2;
+}
+
+int a = 0x105F61CA;
+
+int
+main (void)
+{
+ int b = 0x0332F5C8;
+ if (foo (b, a) > 0)
+ abort ();
+ return 0;
+}