summaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/shr2.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.base/shr2.c')
-rw-r--r--gdb/testsuite/gdb.base/shr2.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.base/shr2.c b/gdb/testsuite/gdb.base/shr2.c
new file mode 100644
index 00000000000..94d5df962a5
--- /dev/null
+++ b/gdb/testsuite/gdb.base/shr2.c
@@ -0,0 +1,11 @@
+int shr2(x)
+{
+ return 2*x;
+}
+
+int shr2_local(x)
+{
+ return 2*x;
+}
+
+