From: Michael Chastain Date: Tue, 22 Jun 2004 18:17:54 +0000 (+0000) Subject: 2004-06-22 Michael Chastain X-Git-Tag: csl-arm-2004-q3~1121 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=aef68c486969aee4fa8ce103c4aea2fe5c02c389;p=platform%2Fupstream%2Fbinutils.git 2004-06-22 Michael Chastain * gdb.cp/pr-1553.cc: Remove. * gdb.cp/pr-1553.exp: Disable this test. --- 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 + + * 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 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}