From: Benjamin Kosnik Date: Thu, 3 Sep 1998 15:23:37 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: prereleases/libgcj-0.1~3231 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=dd93348fe8c8feca0748ec3ffedb24ae00fe6fc0;p=thirdparty%2Fgcc.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 000000000000..cb96ac67b33a --- /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 +};