Commit 386c8529 by Jason Merrill

fix

From-SVN: r23355
parent 2e15faa2
...@@ -3,7 +3,6 @@ ...@@ -3,7 +3,6 @@
// cannot declare friend of enclosing class using its scope, works fine // cannot declare friend of enclosing class using its scope, works fine
// without scope or for definition of foo::bar::f // without scope or for definition of foo::bar::f
// //
// excess errors test - XFAIL *-*-*
class foo class foo
{ {
...@@ -18,6 +17,8 @@ public: ...@@ -18,6 +17,8 @@ public:
}; };
}; };
int foo::bar::x;
int foo::f() { int foo::f() {
return bar::x; return bar::x;
} }
......
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