]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.dg/warn/friend.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.dg / warn / friend.C
diff --git a/gcc/testsuite/g++.dg/warn/friend.C b/gcc/testsuite/g++.dg/warn/friend.C
deleted file mode 100644 (file)
index e798289..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-/* { dg-do compile } */
-/* { dg-options -Wredundant-decls } */
-
-/* Test to see if spurious warnings about redundant
-   declarations are emiited because of the friend
-   declaration.  */
-
-class Foo
-{
-   friend void bar (Foo);
-public:
-};
-
-extern void bar (Foo);