aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.cp/hang3.cc
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2008-04-30 18:28:23 +0000
committerDaniel Jacobowitz <drow@false.org>2008-04-30 18:28:23 +0000
commit8d4e307105edd5f21154824fd5839896ae6e6d84 (patch)
tree49fde82f682fef72899067fd20006c90e40a16a8 /gdb/testsuite/gdb.cp/hang3.cc
parent6f3f3097b9cb8c986c4bbdd0eca212ff47945e9d (diff)
downloadgdb-8d4e307105edd5f21154824fd5839896ae6e6d84.zip
gdb-8d4e307105edd5f21154824fd5839896ae6e6d84.tar.gz
gdb-8d4e307105edd5f21154824fd5839896ae6e6d84.tar.bz2
* gdb.cp/hang.exp: Use .cc instead of .C.
* gdb.cp/hang1.cc, gdb.cp/hang2.cc, gdb.cp/hang3.cc: Renamed from ... * gdb.cp/hang1.C, gdb.cp/hang2.C, gdb.cp/hang3.C: ... here.
Diffstat (limited to 'gdb/testsuite/gdb.cp/hang3.cc')
-rw-r--r--gdb/testsuite/gdb.cp/hang3.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.cp/hang3.cc b/gdb/testsuite/gdb.cp/hang3.cc
new file mode 100644
index 0000000..92c82fa
--- /dev/null
+++ b/gdb/testsuite/gdb.cp/hang3.cc
@@ -0,0 +1,4 @@
+#include "hang.H"
+
+const struct B *const_B_ptr;
+int var_in_hang3 = 42;