diff options
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.other/string1.C')
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.other/string1.C | 20 |
1 files changed, 0 insertions, 20 deletions
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 425e9bf817c..00000000000 --- 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; -} |