Debian Codegraph @

gcc/testsuite/g++.old-deja/g++.oliva/ns1.C

raw
1 // { dg-do assemble }
2
3 // Copyright (C) 1999, 2000 Free Software Foundation
4
5 // by Alexandre Oliva <[email protected]>
6 // based on bug report by Dima Volodin <[email protected]>
7
8 void foo();
9 namespace bar {
10 class baz {
11 friend void ::foo(); // { dg-bogus "" } parse error
12 };
13 }