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)
template <class T>
struct s {
struct t
{
{ // { dg-bogus "" "" { xfail *-*-* } }
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;
};
int main()
{
s<int>::t y;
s<int>::t y; // { dg-bogus "" "" { xfail *-*-* } }
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