int main()
{
Derived d;
- X x = d.f(); // { dg-bogus "Y" "" }
+ X x = d.f(); // { dg-bogus "Y" "" { xfail *-*-* } }
}
int main()
{
- ( int() > int() ); // { dg-bogus "parse" "" }
+ ( int() > int() ); // { dg-bogus "parse" "" { xfail *-*-* } }
return 0;
}
class A { };
}
-template class ::N::A<int>; // { dg-bogus ".*" "" }
+template class ::N::A<int>; // { dg-bogus ".*" "" { xfail *-*-* } }
struct t
{
friend ostream&
- operator<<<T>(ostream&, const typename s<T>::t &); // { dg-bogus ".*" "" }
+ operator<<<T>(ostream&, const typename s<T>::t &); // { dg-bogus ".*" "" { xfail *-*-* } }
};
t x;
};
};
template<typename T>
-Derived<T>::Derived() : Base(4) { } // { dg-error "field" "" }
+Derived<T>::Derived() : Base(4) { } // { dg-error "have any field" "" }
{
static int empty;
const int* x = bar();
- return (x ? *x : empty); // { dg-bogus ".*" "" }
+ return (x ? *x : empty); // { dg-bogus ".*" "" { xfail *-*-* } }
}
const int&