ns1.C: Typo.
authorAlexandre Oliva <oliva@dcc.unicamp.br>
Thu, 1 Jul 1999 23:48:10 +0000 (23:48 +0000)
committerAlexandre Oliva <oliva@gcc.gnu.org>
Thu, 1 Jul 1999 23:48:10 +0000 (23:48 +0000)
* ns1.C: Typo.
* ns2.C: New test.

From-SVN: r27903

gcc/testsuite/g++.old-deja/g++.oliva/ChangeLog
gcc/testsuite/g++.old-deja/g++.oliva/ns1.C
gcc/testsuite/g++.old-deja/g++.oliva/ns2.C [new file with mode: 0644]

index 34c1251c1c38328044963c0eabf4b792f094bd61..87a35253599328403f17c29269889b6bb73a811f 100644 (file)
@@ -1,5 +1,8 @@
 1999-07-02  Alexandre Oliva  <oliva@dcc.unicamp.br>
 
+       * ns1.C: Typo.
+       * ns2.C: New test.
+
        * template2.C: New test.
 
        * ns1.C: New test.
index 3ea6b871693e5e1775170285474727dab780ea8d..f26559eeafb4906a5832c8b42b29293433d76dca 100644 (file)
@@ -3,12 +3,11 @@
 // 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 *-*-*
   };
 }
diff --git a/gcc/testsuite/g++.old-deja/g++.oliva/ns2.C b/gcc/testsuite/g++.old-deja/g++.oliva/ns2.C
new file mode 100644 (file)
index 0000000..10e3f44
--- /dev/null
@@ -0,0 +1,15 @@
+// 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 *-*-*
+  };
+}