llvm-6502/test/FrontendC/2007-02-16-WritableStrings.c
2009-07-15 12:09:18 +00:00

8 lines
226 B
C

// Test the -fwritable-strings option.
// RUN: %llvmgcc -O3 -S -o - -emit-llvm -fwritable-strings %s | \
// RUN: grep {private global}
// RUN: %llvmgcc -O3 -S -o - -emit-llvm %s | grep {private constant}
char *X = "foo";