X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.other%2Fmangle3.C;fp=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.other%2Fmangle3.C;h=0000000000000000000000000000000000000000;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=d77a4b548de8eaef657e4d5d8c882639e3bff8e5;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git diff --git a/gcc/testsuite/g++.old-deja/g++.other/mangle3.C b/gcc/testsuite/g++.old-deja/g++.other/mangle3.C deleted file mode 100644 index d77a4b54..00000000 --- a/gcc/testsuite/g++.old-deja/g++.other/mangle3.C +++ /dev/null @@ -1,41 +0,0 @@ -struct foo { - static int bar () - { - int i; - static int baz = 1; - { - static int baz = 2; - i = baz++; - } - { - struct baz { - static int m () - { - static int n; - return n += 10; - } - }; - baz a; - i += a.m (); - } - { - static int baz = 3; - i += baz; - baz += 30; - } - i += baz; - baz += 60; - return i; - } -}; - -int main () -{ - foo x; - - if (x.bar () != 16) - return 1; - if (x.bar() != 117) - return 1; - return 0; -}