* ns1.C: Typo.
* ns2.C: New test.
From-SVN: r27903
1999-07-02 Alexandre Oliva <oliva@dcc.unicamp.br>
+ * ns1.C: Typo.
+ * ns2.C: New test.
+
* template2.C: New test.
* ns1.C: New test.
// Copyright (C) 1999 Free Software Foundation
// by Alexandre Oliva <oliva@dcc.unicamp.br>
-
// based on bug report by Dima Volodin <dvv@dvv.ru>
void foo();
namespace bar {
class baz {
- friend void ::f(); // gets bogus error - parse error - XFAIL *-*-*
+ friend void ::foo(); // gets bogus error - parse error - XFAIL *-*-*
};
}
--- /dev/null
+// 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 *-*-*
+ };
+}