*** empty log message ***
From-SVN: r22214
This commit is contained in:
parent
c29b071146
commit
dd93348fe8
1 changed files with 9 additions and 0 deletions
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…
Add table
Reference in a new issue