// 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 {};
void
bar ()
{
- foo (B ()); // { dg-bogus "instantiated from here" "" { xfail *-*-* } }
+ foo (B ()); // { dg-bogus "required from here" "" { xfail *-*-* } }
}
-
-// { dg-bogus "is ambiguous" "" { xfail *-*-* } 15 }