]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.jason/overload21.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.jason / overload21.C
diff --git a/gcc/testsuite/g++.old-deja/g++.jason/overload21.C b/gcc/testsuite/g++.old-deja/g++.jason/overload21.C
deleted file mode 100644 (file)
index dc2f69e..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-struct X {
-  void f (int = 4, char = 'r');        // ERROR - 
-  void g (int = 4, char = 'r');        // ERROR - 
-};
-
-void
-X::f (int i = 4, char x = 'r')
-{ }                            // ERROR - duplicate default args
-
-void
-X::g (int i = 9, char x = 's')
-{ }                            // ERROR - duplicate default args