Merge branch 'master' into msp430
[llvm/msp430.git] / test / FrontendC / 2007-02-16-WritableStrings.c
blobd11fa089dbab39d07d0101c0f13d463e7a976226
1 // Test the -fwritable-strings option.
3 // RUN: %llvmgcc -O3 -S -o - -emit-llvm -fwritable-strings %s | \
4 // RUN: grep {internal global}
5 // RUN: %llvmgcc -O3 -S -o - -emit-llvm %s | grep {internal constant}
7 char *X = "foo";