OSDN Git Service

CFStrings for Darwin
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / objc.dg / strings / const-str-6.m
similarity index 85%
rename from gcc/testsuite/objc.dg/const-str-6.m
rename to gcc/testsuite/objc.dg/strings/const-str-6.m
index a7cbbf7..fca7643 100644 (file)
@@ -1,8 +1,9 @@
 /* Negative test case for constant string layout.  */
 /* Contributed by Ziemowit Laski  <zlaski@apple.com>.  */
 
-/* { dg-options "-fconstant-string-class=MyConstantString" } */
 /* { dg-do compile } */
+/* { dg-options "-fconstant-string-class=MyConstantString" } */
+/* { dg-options "-mno-constant-cfstrings -fconstant-string-class=MyConstantString" { target *-*-darwin* } } */ 
 
 @interface MyBase {
   char p;