diff options
author | Alexandre Oliva <oliva@dcc.unicamp.br> | 1999-07-01 23:48:10 +0000 |
---|---|---|
committer | Alexandre Oliva <oliva@gcc.gnu.org> | 1999-07-01 23:48:10 +0000 |
commit | c27c54b2449c1bdf56f48757ae97626338a3b12b (patch) | |
tree | 53ff27ba117e799ad99ec65c5e6a1b46ef286299 | |
parent | 922c7c56f1fe14e25b3809eaa22811c825dd7fff (diff) | |
download | gcc-c27c54b2449c1bdf56f48757ae97626338a3b12b.zip gcc-c27c54b2449c1bdf56f48757ae97626338a3b12b.tar.gz gcc-c27c54b2449c1bdf56f48757ae97626338a3b12b.tar.bz2 |
ns1.C: Typo.
* ns1.C: Typo.
* ns2.C: New test.
From-SVN: r27903
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.oliva/ChangeLog | 3 | ||||
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.oliva/ns1.C | 3 | ||||
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.oliva/ns2.C | 15 |
3 files changed, 19 insertions, 2 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.oliva/ChangeLog b/gcc/testsuite/g++.old-deja/g++.oliva/ChangeLog index 34c1251..87a3525 100644 --- a/gcc/testsuite/g++.old-deja/g++.oliva/ChangeLog +++ b/gcc/testsuite/g++.old-deja/g++.oliva/ChangeLog @@ -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. diff --git a/gcc/testsuite/g++.old-deja/g++.oliva/ns1.C b/gcc/testsuite/g++.old-deja/g++.oliva/ns1.C index 3ea6b87..f26559e 100644 --- a/gcc/testsuite/g++.old-deja/g++.oliva/ns1.C +++ b/gcc/testsuite/g++.old-deja/g++.oliva/ns1.C @@ -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 index 0000000..10e3f44 --- /dev/null +++ b/gcc/testsuite/g++.old-deja/g++.oliva/ns2.C @@ -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 *-*-* + }; +} |