]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.brendan/arm3.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.brendan / arm3.C
diff --git a/gcc/testsuite/g++.old-deja/g++.brendan/arm3.C b/gcc/testsuite/g++.old-deja/g++.brendan/arm3.C
deleted file mode 100644 (file)
index c352bfa..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-// Build don't link: 
-// GROUPS passed initialization
-// ARM $11.4: A function first declared in a friend decl is equivalent
-// to an extern decl, so the below is illegal.
-
-class X {
-      friend g(); // ERROR - previous declaration
-};
-static g() { return 1; }// ERROR - previously declared