Commit c27c54b2 by Alexandre Oliva Committed by Alexandre Oliva

ns1.C: Typo.

* ns1.C: Typo.
* ns2.C: New test.

From-SVN: r27903
parent 922c7c56
1999-07-02 Alexandre Oliva <oliva@dcc.unicamp.br> 1999-07-02 Alexandre Oliva <oliva@dcc.unicamp.br>
* ns1.C: Typo.
* ns2.C: New test.
* template2.C: New test. * template2.C: New test.
* ns1.C: New test. * ns1.C: New test.
......
...@@ -3,12 +3,11 @@ ...@@ -3,12 +3,11 @@
// Copyright (C) 1999 Free Software Foundation // Copyright (C) 1999 Free Software Foundation
// by Alexandre Oliva <oliva@dcc.unicamp.br> // by Alexandre Oliva <oliva@dcc.unicamp.br>
// based on bug report by Dima Volodin <dvv@dvv.ru> // based on bug report by Dima Volodin <dvv@dvv.ru>
void foo(); void foo();
namespace bar { namespace bar {
class baz { class baz {
friend void ::f(); // gets bogus error - parse error - XFAIL *-*-* friend void ::foo(); // gets bogus error - parse error - XFAIL *-*-*
}; };
} }
// Build don't link:
// Copyright (C) 1999 Free Software Foundation
// by Alexandre Oliva <oliva@dcc.unicamp.br>
// based on bug report by Dima Volodin <dvv@dvv.ru>
// variation of ns1.C
void foo();
namespace bar {
using ::foo;
class baz {
friend void foo(); // gets bogus error - conflict - XFAIL *-*-*
};
}
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