OSDN Git Service

CFStrings for Darwin
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / obj-c++.dg / strings / const-str-1.mm
similarity index 81%
rename from gcc/testsuite/obj-c++.dg/const-str-1.mm
rename to gcc/testsuite/obj-c++.dg/strings/const-str-1.mm
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(...);