aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Chastain <mec@google.com>2004-06-22 18:17:54 +0000
committerMichael Chastain <mec@google.com>2004-06-22 18:17:54 +0000
commitaef68c486969aee4fa8ce103c4aea2fe5c02c389 (patch)
tree1005182132785bb856159fb2dd28c8fd09a82582
parent226f5cf47acdb0c97f48597a0f2b7a70f55156c3 (diff)
downloadgdb-aef68c486969aee4fa8ce103c4aea2fe5c02c389.zip
gdb-aef68c486969aee4fa8ce103c4aea2fe5c02c389.tar.gz
gdb-aef68c486969aee4fa8ce103c4aea2fe5c02c389.tar.bz2
2004-06-22 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/pr-1553.cc: Remove. * gdb.cp/pr-1553.exp: Disable this test.
-rw-r--r--gdb/testsuite/ChangeLog5
-rw-r--r--gdb/testsuite/gdb.cp/pr-1553.cc53
-rw-r--r--gdb/testsuite/gdb.cp/pr-1553.exp3
3 files changed, 8 insertions, 53 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 24ccaa0..0ffbf77 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2004-06-22 Michael Chastain <mec.gnu@mindspring.com>
+
+ * gdb.cp/pr-1553.cc: Remove.
+ * gdb.cp/pr-1553.exp: Disable this test.
+
2004-06-20 Jim Blandy <jimb@redhat.com>
Fix PR testsuite/1680.
diff --git a/gdb/testsuite/gdb.cp/pr-1553.cc b/gdb/testsuite/gdb.cp/pr-1553.cc
deleted file mode 100644
index 58441fd..0000000
--- a/gdb/testsuite/gdb.cp/pr-1553.cc
+++ /dev/null
@@ -1,53 +0,0 @@
-class A {
-public:
- class B;
- class C;
-};
-
-class A::B {
- int a_b;
-
-public:
- C* get_c(int i);
-};
-
-class A::C
-{
- int a_c;
-};
-
-class E {
-public:
- class F;
-};
-
-class E::F {
-public:
- int e_f;
-
- F& operator=(const F &other);
-};
-
-void refer_to (E::F *f) {
- // Do nothing.
-}
-
-void refer_to (A::C **ref) {
- // Do nothing. But, while we're at it, force out debug info for
- // A::B and E::F.
-
- A::B b;
- E::F f;
-
- refer_to (&f);
-}
-
-int main () {
- A::C* c_var;
- A::B* b_var;
- E *e_var;
-
- // Keep around a reference so that GCC 3.4 doesn't optimize the variable
- // away.
- refer_to (&c_var);
-}
diff --git a/gdb/testsuite/gdb.cp/pr-1553.exp b/gdb/testsuite/gdb.cp/pr-1553.exp
index fe9e2a2..c433ea6 100644
--- a/gdb/testsuite/gdb.cp/pr-1553.exp
+++ b/gdb/testsuite/gdb.cp/pr-1553.exp
@@ -32,6 +32,9 @@ if { [skip_cplus_tests] } { continue }
set prms_id 0
set bug_id 0
+# No test program available.
+continue
+
set testfile "pr-1553"
set srcfile ${testfile}.cc
set binfile ${objdir}/${subdir}/${testfile}