X-Git-Url: https://oss.titaniummirror.com/gitweb?a=blobdiff_plain;f=gcc%2Ftestsuite%2Fg%2B%2B.dg%2Fother%2Finit1.C;fp=gcc%2Ftestsuite%2Fg%2B%2B.dg%2Fother%2Finit1.C;h=0000000000000000000000000000000000000000;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=bf4c0794758d31c6bf283ac2d35505a3ab47d21b;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git diff --git a/gcc/testsuite/g++.dg/other/init1.C b/gcc/testsuite/g++.dg/other/init1.C deleted file mode 100644 index bf4c0794..00000000 --- a/gcc/testsuite/g++.dg/other/init1.C +++ /dev/null @@ -1,28 +0,0 @@ -// { dg-do compile } - -// Copyright (C) 2001 Free Software Foundation, Inc. -// Contributed by Nathan Sidwell 13 Nov 2001 - -// Bug 3154 - -class A {}; - -struct B : A -{ - typedef A Parent; - - B () : Parent () {}; -}; - -class T -{ - typedef int Foo; - T () : Foo () {} // { dg-error "type `T::Foo' is not" "" } -}; - -struct S : B -{ - int Parent; - - S () :Parent (1) {} -};