summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/shm.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.c-torture/compile/shm.c')
-rw-r--r--gcc/testsuite/gcc.c-torture/compile/shm.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.c-torture/compile/shm.c b/gcc/testsuite/gcc.c-torture/compile/shm.c
new file mode 100644
index 00000000000..b667b26abe9
--- /dev/null
+++ b/gcc/testsuite/gcc.c-torture/compile/shm.c
@@ -0,0 +1,5 @@
+foo (int *p)
+{
+ int a = *p;
+ return a >> 24;
+}