From: Benjamin Kosnik Date: Thu, 3 Sep 1998 15:23:37 +0000 (+0000) Subject: *** empty log message *** X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=dd93348fe8c8feca0748ec3ffedb24ae00fe6fc0;p=gcc.git *** empty log message *** From-SVN: r22214 --- diff --git a/gcc/testsuite/g++.old-deja/g++.benjamin/warn04.C b/gcc/testsuite/g++.old-deja/g++.benjamin/warn04.C new file mode 100644 index 00000000000..cb96ac67b33 --- /dev/null +++ b/gcc/testsuite/g++.old-deja/g++.benjamin/warn04.C @@ -0,0 +1,9 @@ +// 980903 bkoz +// make sure this option works +// Build don't link: +// Special g++ Options: -Wno-non-template-friend + + +template class task { + friend void next_time(); //shouldn't give a warning +};