summaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.hp/gdb.defects/solib-d2.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.hp/gdb.defects/solib-d2.c')
-rw-r--r--gdb/testsuite/gdb.hp/gdb.defects/solib-d2.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.hp/gdb.defects/solib-d2.c b/gdb/testsuite/gdb.hp/gdb.defects/solib-d2.c
new file mode 100644
index 00000000000..024616baf28
--- /dev/null
+++ b/gdb/testsuite/gdb.hp/gdb.defects/solib-d2.c
@@ -0,0 +1,11 @@
+int global_from_secondary = 9012;
+int function_from_secondary()
+{
+ static int local_static = 3456;
+ return 0;
+}
+
+garbage()
+{
+ return 0;
+}