From-SVN: r44851
This commit is contained in:
Gabriel Dos Reis 2001-08-13 14:07:18 +00:00
parent 160fb9bc16
commit 2263345095
6 changed files with 6 additions and 6 deletions

View File

@ -17,7 +17,7 @@ struct Derived : Base {
int main()
{
Derived d;
X x = d.f(); // { dg-bogus "Y" "" }
X x = d.f(); // { dg-bogus "Y" "" { xfail *-*-* } }
}

View File

@ -4,6 +4,6 @@
int main()
{
( int() > int() ); // { dg-bogus "parse" "" }
( int() > int() ); // { dg-bogus "parse" "" { xfail *-*-* } }
return 0;
}

View File

@ -8,7 +8,7 @@ namespace N
class A { };
}
template class ::N::A<int>; // { dg-bogus ".*" "" }
template class ::N::A<int>; // { dg-bogus ".*" "" { xfail *-*-* } }

View File

@ -18,7 +18,7 @@ struct s {
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;
};

View File

@ -12,6 +12,6 @@ struct Derived : Base<T> {
};
template<typename T>
Derived<T>::Derived() : Base(4) { } // { dg-error "field" "" }
Derived<T>::Derived() : Base(4) { } // { dg-error "have any field" "" }

View File

@ -7,7 +7,7 @@ foo1()
{
static int empty;
const int* x = bar();
return (x ? *x : empty); // { dg-bogus ".*" "" }
return (x ? *x : empty); // { dg-bogus ".*" "" { xfail *-*-* } }
}
const int&