OSDN Git Service

CFStrings for Darwin
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / objc.dg / strings / const-str-1.m
similarity index 81%
rename from gcc/testsuite/objc.dg/const-str-1.m
rename to gcc/testsuite/objc.dg/strings/const-str-1.m
index 156a92e..754c99b 100644 (file)
@@ -1,5 +1,6 @@
 /* Test errors for constant strings.  */
 /* { dg-do compile } */
+/* { dg-options "-mno-constant-cfstrings" { target *-*-darwin* } } */
 
 #ifdef __cplusplus
 extern void baz(...);