gcc/testsuite/g++.old-deja/g++.oliva/ns2.C
raw| 1 | // { dg-do assemble } |
| 2 | |
| 3 | // Copyright (C) 1999 Free Software Foundation |
| 4 | |
| 5 | // by Alexandre Oliva <[email protected]> |
| 6 | // based on bug report by Dima Volodin <[email protected]> |
| 7 | // variation of ns1.C |
| 8 | |
| 9 | void foo(); |
| 10 | namespace bar { |
| 11 | using ::foo; |
| 12 | class baz { |
| 13 | friend void foo(); // { dg-bogus "" "" { xfail *-*-* } } - conflict - |
| 14 | }; |
| 15 | } |