]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
*** empty log message ***
authorBenjamin Kosnik <bkoz@gcc.gnu.org>
Thu, 3 Sep 1998 15:23:37 +0000 (15:23 +0000)
committerBenjamin Kosnik <bkoz@gcc.gnu.org>
Thu, 3 Sep 1998 15:23:37 +0000 (15:23 +0000)
From-SVN: r22214

gcc/testsuite/g++.old-deja/g++.benjamin/warn04.C [new file with mode: 0644]

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 (file)
index 0000000..cb96ac6
--- /dev/null
@@ -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
+};