Commit 22633450 by Gabriel Dos Reis

XFAIL

From-SVN: r44851
parent 160fb9bc
...@@ -17,7 +17,7 @@ struct Derived : Base { ...@@ -17,7 +17,7 @@ struct Derived : Base {
int main() int main()
{ {
Derived d; Derived d;
X x = d.f(); // { dg-bogus "Y" "" } X x = d.f(); // { dg-bogus "Y" "" { xfail *-*-* } }
} }
...@@ -4,6 +4,6 @@ ...@@ -4,6 +4,6 @@
int main() int main()
{ {
( int() > int() ); // { dg-bogus "parse" "" } ( int() > int() ); // { dg-bogus "parse" "" { xfail *-*-* } }
return 0; return 0;
} }
...@@ -8,7 +8,7 @@ namespace N ...@@ -8,7 +8,7 @@ namespace N
class A { }; class A { };
} }
template class ::N::A<int>; // { dg-bogus ".*" "" } template class ::N::A<int>; // { dg-bogus ".*" "" { xfail *-*-* } }
...@@ -18,7 +18,7 @@ struct s { ...@@ -18,7 +18,7 @@ struct s {
struct t struct t
{ {
friend ostream& 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; t x;
}; };
......
...@@ -12,6 +12,6 @@ struct Derived : Base<T> { ...@@ -12,6 +12,6 @@ struct Derived : Base<T> {
}; };
template<typename T> template<typename T>
Derived<T>::Derived() : Base(4) { } // { dg-error "field" "" } Derived<T>::Derived() : Base(4) { } // { dg-error "have any field" "" }
...@@ -7,7 +7,7 @@ foo1() ...@@ -7,7 +7,7 @@ foo1()
{ {
static int empty; static int empty;
const int* x = bar(); const int* x = bar();
return (x ? *x : empty); // { dg-bogus ".*" "" } return (x ? *x : empty); // { dg-bogus ".*" "" { xfail *-*-* } }
} }
const int& const int&
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment