aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.cp/hang.H
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.cp/hang.H')
-rw-r--r--gdb/testsuite/gdb.cp/hang.H12
1 files changed, 12 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.cp/hang.H b/gdb/testsuite/gdb.cp/hang.H
new file mode 100644
index 0000000..26fec87
--- /dev/null
+++ b/gdb/testsuite/gdb.cp/hang.H
@@ -0,0 +1,12 @@
+struct A
+{
+ struct B *b_ptr_in_a;
+};
+
+struct C
+{
+ struct B
+ {
+ int member_of_B_in_C;
+ };
+};