aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.c++/hang2.C
diff options
context:
space:
mode:
authorJim Blandy <jimb@codesourcery.com>2002-05-02 07:03:53 +0000
committerJim Blandy <jimb@codesourcery.com>2002-05-02 07:03:53 +0000
commiteb7f1c487a7d496bf9f6443ab2dae90257a8398c (patch)
treec3a7a0df534e67d1ef6202fe0e29ccc1327e2ea4 /gdb/testsuite/gdb.c++/hang2.C
parentcf17c188f5ab09846da88d05da7357c9846375b0 (diff)
downloadgdb-eb7f1c487a7d496bf9f6443ab2dae90257a8398c.zip
gdb-eb7f1c487a7d496bf9f6443ab2dae90257a8398c.tar.gz
gdb-eb7f1c487a7d496bf9f6443ab2dae90257a8398c.tar.bz2
* gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
gdb.c++/hang.exp: New test.
Diffstat (limited to 'gdb/testsuite/gdb.c++/hang2.C')
-rw-r--r--gdb/testsuite/gdb.c++/hang2.C8
1 files changed, 8 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.c++/hang2.C b/gdb/testsuite/gdb.c++/hang2.C
new file mode 100644
index 0000000..59732f8
--- /dev/null
+++ b/gdb/testsuite/gdb.c++/hang2.C
@@ -0,0 +1,8 @@
+#include "hang.H"
+
+struct B
+{
+ int member_of_B;
+};
+
+int var_in_b = 1729;