aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/const.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.c-torture/compile/const.c')
-rw-r--r--gcc/testsuite/gcc.c-torture/compile/const.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.c-torture/compile/const.c b/gcc/testsuite/gcc.c-torture/compile/const.c
new file mode 100644
index 0000000..209fc76
--- /dev/null
+++ b/gcc/testsuite/gcc.c-torture/compile/const.c
@@ -0,0 +1,4 @@
+main (a)
+{
+ return a + (~0 - 240);
+}