blob: 8fa7f15dc6c366d5debdea316069ceb9d1d5ace2 [file] [log] [blame]
// Test the -fwritable-strings option.
// RUN: %llvmgcc -O3 -S -o - -fwritable-strings %s | \
// RUN: grep {internal unnamed_addr global}
// RUN: %llvmgcc -O3 -S -o - %s | grep {private unnamed_addr constant}
char *X = "foo";