gcroot testcase, patch by Eric Christopher.
[oota-llvm.git] / test / CFrontend / 2007-02-16-WritableStrings.c
index f26d50b3524034a63b6a9c5d8d967a823c05fcb3..d11fa089dbab39d07d0101c0f13d463e7a976226 100644 (file)
@@ -1,7 +1,8 @@
 // Test the -fwritable-strings option.
 
-// RUN: %llvmgcc -O3 -S -o - -emit-llvm -fwritable-strings %s | grep 'internal global' &&
-// RUN: %llvmgcc -O3 -S -o - -emit-llvm %s | grep 'internal constant'
+// RUN: %llvmgcc -O3 -S -o - -emit-llvm -fwritable-strings %s | \
+// RUN:    grep {internal global}
+// RUN: %llvmgcc -O3 -S -o - -emit-llvm %s | grep {internal constant}
 
 char *X = "foo";