]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.brendan/operators1.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.brendan / operators1.C
diff --git a/gcc/testsuite/g++.old-deja/g++.brendan/operators1.C b/gcc/testsuite/g++.old-deja/g++.brendan/operators1.C
deleted file mode 100644 (file)
index 89453f9..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-// Build don't link: 
-// GROUPS passed operators
-struct A {
-       int x;
-};
-
-int operator()(A x,float y) { // MUST be a member function// ERROR - .*
-       return 1;
-}
-
-int main() {
-       A x;
-       x(1.0); // ERROR - no match for call
-}