X-Git-Url: https://oss.titaniummirror.com/gitweb?a=blobdiff_plain;f=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.other%2Fstring1.C;fp=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.other%2Fstring1.C;h=0000000000000000000000000000000000000000;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=425e9bf817ce0fb355867ea315072d419172a5a1;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git diff --git a/gcc/testsuite/g++.old-deja/g++.other/string1.C b/gcc/testsuite/g++.old-deja/g++.other/string1.C deleted file mode 100644 index 425e9bf8..00000000 --- a/gcc/testsuite/g++.old-deja/g++.other/string1.C +++ /dev/null @@ -1,20 +0,0 @@ -// Build don't link: -// Origin: mrs@wrs.com (Mike Stump) - -class Wrapper { -public: - static const char msgPtr[]; - static const char *JunkFunc() { - return &msgPtr[0]; - } -}; - -const char Wrapper::msgPtr[] = "Hello world."; - -int main() { - const char *p1 = &Wrapper::msgPtr[0]; - const char *p2 = Wrapper::JunkFunc(); - - if (p1 != p2) - return 1; -}