OSDN Git Service

PR c++/49418
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / template / dtor7.C
index 0dac69e..a963320 100644 (file)
@@ -1,10 +1,10 @@
 // PR c++/40373
-// { dg-compile }
+// { dg-do compile }
 
-struct A;      // { dg-bogus "candidates are" "" { xfail *-*-* } }
+struct A;
 namespace
 {
-  struct A;    // { dg-bogus "struct" "" { xfail *-*-* } }
+  struct A;
 }
 
 struct B {};
@@ -18,7 +18,5 @@ foo (T t)
 void
 bar ()
 {
-  foo (B ());  // { dg-bogus "instantiated from here" "" { xfail *-*-* } }
+  foo (B ());  // { dg-bogus "required from here" "" { xfail *-*-* } }
 }
-
-// { dg-bogus "is ambiguous" "" { xfail *-*-* } 15 }