blob: d11fa089dbab39d07d0101c0f13d463e7a976226 [file] [log] [blame]
// Test the -fwritable-strings option.
// 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";