From-SVN: r45128
This commit is contained in:
Jason Merrill 2001-08-23 07:34:32 -04:00
parent 0585896cdf
commit fefddd61a0
1 changed files with 3 additions and 3 deletions

View File

@ -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;
}