From aef68c486969aee4fa8ce103c4aea2fe5c02c389 Mon Sep 17 00:00:00 2001 From: Michael Chastain Date: Tue, 22 Jun 2004 18:17:54 +0000 Subject: [PATCH] 2004-06-22 Michael Chastain * gdb.cp/pr-1553.cc: Remove. * gdb.cp/pr-1553.exp: Disable this test. --- gdb/testsuite/ChangeLog | 5 +++ gdb/testsuite/gdb.cp/pr-1553.cc | 53 -------------------------------- gdb/testsuite/gdb.cp/pr-1553.exp | 3 ++ 3 files changed, 8 insertions(+), 53 deletions(-) delete mode 100644 gdb/testsuite/gdb.cp/pr-1553.cc diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 24ccaa06747..0ffbf77a6fc 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2004-06-22 Michael Chastain + + * gdb.cp/pr-1553.cc: Remove. + * gdb.cp/pr-1553.exp: Disable this test. + 2004-06-20 Jim Blandy 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 58441fdb80f..00000000000 --- 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 fe9e2a26171..c433ea6f424 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} -- 2.30.2