Debian Codegraph @

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

raw
1 // { dg-do assemble }
2
3 // Copyright (C) 2001 Free Software Foundation
4
5 // by Alexandre Oliva <[email protected]>
6
7 // We shouldn't warn about bar referring to a non-template in this case.
8
9 template <typename T>
10 class foo {
11 friend int bar(int);
12 };