OSDN Git Service

2004-06-22 Michael Chastain <mec.gnu@mindspring.com>
authorMichael Chastain <mec.gnu@mindspring.com>
Tue, 22 Jun 2004 18:17:54 +0000 (18:17 +0000)
committerMichael Chastain <mec.gnu@mindspring.com>
Tue, 22 Jun 2004 18:17:54 +0000 (18:17 +0000)
* gdb.cp/pr-1553.cc: Remove.
* gdb.cp/pr-1553.exp: Disable this test.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.cp/pr-1553.cc [deleted file]
gdb/testsuite/gdb.cp/pr-1553.exp

index 24ccaa0..0ffbf77 100644 (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.
diff --git a/gdb/testsuite/gdb.cp/pr-1553.cc b/gdb/testsuite/gdb.cp/pr-1553.cc
deleted file mode 100644 (file)
index 58441fd..0000000
+++ /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);
-}
index fe9e2a2..c433ea6 100644 (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}