fix
From-SVN: r45128
This commit is contained in:
parent
0585896cdf
commit
fefddd61a0
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user