]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.other/string1.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.other / string1.C
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 (file)
index 425e9bf..0000000
+++ /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;
-}