Commit fefddd61 by Jason Merrill

fix

From-SVN: r45128
parent 0585896c
...@@ -16,15 +16,15 @@ ostream& operator<<(ostream &o, const typename s<T>::t &x) ...@@ -16,15 +16,15 @@ ostream& operator<<(ostream &o, const typename s<T>::t &x)
template <class T> template <class T>
struct s { struct s {
struct t struct t
{ { // { dg-bogus "" "" { xfail *-*-* } }
friend ostream& friend ostream&
operator<<<T>(ostream&, const typename s<T>::t &); // { dg-bogus ".*" "" { xfail *-*-* } } operator<<<T>(ostream&, const typename s<T>::t &); // { dg-bogus "" "" { xfail *-*-* } }
}; };
t x; t x;
}; };
int main() int main()
{ {
s<int>::t y; s<int>::t y; // { dg-bogus "" "" { xfail *-*-* } }
cout << y; cout << y;
} }
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