]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.mike/explicit1.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.mike / explicit1.C
diff --git a/gcc/testsuite/g++.old-deja/g++.mike/explicit1.C b/gcc/testsuite/g++.old-deja/g++.mike/explicit1.C
deleted file mode 100644 (file)
index 28213ba..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-struct A1 {
-  explicit A1(int) { }
-} a1(1);
-
-struct A {
-  explicit A(int);
-} a(1);
-
-A::A(int) {
-}
-
-void foo(A a) {
-  foo(a);
-  foo(1);              // ERROR - not allowed
-}