☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.old-deja
/
g++.benjamin
/
warn04.C
☽
☼
gcc/testsuite/g++.old-deja/g++.benjamin/warn04.C
code
plain
raw
1
// { dg-do assemble }
2
// { dg-options "-Wno-non-template-friend" }
3
// 980903 bkoz
4
// make sure this option works
5
6
7
template<class T> class task {
8
friend void next_time(); //shouldn't give a warning
9
};