2004-06-22 Michael Chastain <mec.gnu@mindspring.com>

* gdb.cp/pr-1553.cc: Remove.
	* gdb.cp/pr-1553.exp: Disable this test.
This commit is contained in:
Michael Chastain 2004-06-22 18:17:54 +00:00
parent 226f5cf47a
commit aef68c4869
3 changed files with 8 additions and 53 deletions

View File

@ -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.

View File

@ -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);
}

View File

@ -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}