aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.cp/hang3.C
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.cp/hang3.C')
-rw-r--r--gdb/testsuite/gdb.cp/hang3.C4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.cp/hang3.C b/gdb/testsuite/gdb.cp/hang3.C
new file mode 100644
index 0000000..92c82fa
--- /dev/null
+++ b/gdb/testsuite/gdb.cp/hang3.C
@@ -0,0 +1,4 @@
+#include "hang.H"
+
+const struct B *const_B_ptr;
+int var_in_hang3 = 42;