X-Git-Url: https://oss.titaniummirror.com/gitweb?a=blobdiff_plain;f=gcc%2Ftestsuite%2Fg%2B%2B.dg%2Fopt%2Fstatic1.C;fp=gcc%2Ftestsuite%2Fg%2B%2B.dg%2Fopt%2Fstatic1.C;h=0000000000000000000000000000000000000000;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=05429e18bb559438819daefe8cd7ab53d650b661;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git diff --git a/gcc/testsuite/g++.dg/opt/static1.C b/gcc/testsuite/g++.dg/opt/static1.C deleted file mode 100644 index 05429e18..00000000 --- a/gcc/testsuite/g++.dg/opt/static1.C +++ /dev/null @@ -1,20 +0,0 @@ -// PR c++/6073 -// This testcase ICEd because finish_struct_bits changed -// A's and const A's TYPE_MODE from QI to BLK, but did -// not change a's DECL_MODE because its mode was not -// TYPE_MAIN_VARIANT. - -struct A -{ - static const A a; - ~A (); -}; - -void bar (A x); -void foo (); - -void -foo () -{ - bar (A::a); -}