summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/unsorted/sc.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.c-torture/unsorted/sc.c')
-rw-r--r--gcc/testsuite/gcc.c-torture/unsorted/sc.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.c-torture/unsorted/sc.c b/gcc/testsuite/gcc.c-torture/unsorted/sc.c
new file mode 100644
index 000000000..84dc60f7e
--- /dev/null
+++ b/gcc/testsuite/gcc.c-torture/unsorted/sc.c
@@ -0,0 +1,5 @@
+foo (a, b)
+ int a, b;
+{
+ return (a < 0) | (a <= 0) | (a == 0) | (a != 0) | (a >= 0) | (a > 0);
+}