FSF GCC merge 02/23/03
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.benjamin / warn04.C
blobcb96ac67b33a06fa79cae058397f021d31a5a040
1 // 980903 bkoz
2 // make sure this option works
3 // Build don't link: 
4 // Special g++ Options: -Wno-non-template-friend
7 template<class T> class task {
8   friend void next_time(); //shouldn't give a warning
9 };