mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-01-12 09:44:57 +08:00
*** empty log message ***
From-SVN: r22214
This commit is contained in:
parent
c29b071146
commit
dd93348fe8
9
gcc/testsuite/g++.old-deja/g++.benjamin/warn04.C
Normal file
9
gcc/testsuite/g++.old-deja/g++.benjamin/warn04.C
Normal file
@ -0,0 +1,9 @@
|
||||
// 980903 bkoz
|
||||
// make sure this option works
|
||||
// Build don't link:
|
||||
// Special g++ Options: -Wno-non-template-friend
|
||||
|
||||
|
||||
template<class T> class task {
|
||||
friend void next_time(); //shouldn't give a warning
|
||||
};
|
Loading…
Reference in New Issue
Block a user