Commit 300d430f by Mike Stump Committed by Mike Stump

re PR objc/44125 (const-str-9 fails.)

	PR objc/44125
	* objc.dg/const-str-9.m: Remove static.

From-SVN: r159989
parent cc16b0f0
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
......
......@@ -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 } } } } } */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment