re PR objc/44125 (const-str-9 fails.)
authorMike Stump <mikestump@comcast.net>
Fri, 28 May 2010 18:33:45 +0000 (18:33 +0000)
committerMike Stump <mrs@gcc.gnu.org>
Fri, 28 May 2010 18:33:45 +0000 (18:33 +0000)
PR objc/44125
* objc.dg/const-str-9.m: Remove static.

From-SVN: r159989

gcc/testsuite/ChangeLog
gcc/testsuite/objc.dg/const-str-9.m

index ae8d2c0..b41e4be 100644 (file)
@@ -1,3 +1,8 @@
+2010-05-28  Mike Stump  <mikestump@comcast.net>
+
+       PR objc/44125
+       * objc.dg/const-str-9.m: Remove static.
+
 2010-05-28  Jakub Jelinek  <jakub@redhat.com>
 
        PR target/43636
index ddf3b02..86521c2 100644 (file)
@@ -18,7 +18,7 @@ extern struct objc_class _NSConstantStringClassReference;
 Class _NSConstantStringClassReference;
 #endif
 
-static const NSConstantString *appKey = @"MyApp";
+const NSConstantString *appKey = @"MyApp";
 
 /* { dg-final { scan-assembler ".section __OBJC, __cstring_object" } } */
 /* { dg-final { scan-assembler ".long\t__NSConstantStringClassReference\n\t.long\t.*\n\t.long\t5\n\t.data" { target { *-*-darwin* && { ! lp64 } } } } } */