X-Git-Url: https://oss.titaniummirror.com/gitweb?a=blobdiff_plain;f=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.robertl%2Feb69.C;fp=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.robertl%2Feb69.C;h=0000000000000000000000000000000000000000;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=2daa5fe3e45be8367c27c0d0a369536d33fb99c6;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git diff --git a/gcc/testsuite/g++.old-deja/g++.robertl/eb69.C b/gcc/testsuite/g++.old-deja/g++.robertl/eb69.C deleted file mode 100644 index 2daa5fe3..00000000 --- a/gcc/testsuite/g++.old-deja/g++.robertl/eb69.C +++ /dev/null @@ -1,20 +0,0 @@ -// Test that g++ complains about referring to a builtin type in a -// mem-initializer. -// Contributed by Kevin Buhr - -int r = 0; - -struct foo { // ERROR - candidate - foo(int x) { r = 1; } // ERROR - candidate -}; - -struct bar : foo { - typedef int an_int; - bar() : bar::an_int(3) {} // ERROR - not a base -}; - -int -main() { - bar b; - return r; -}