When removing a function from the function set and adding it to deferred, we
[llvm.git] / test / FrontendC / 2007-02-16-WritableStrings.c
blob8fa7f15dc6c366d5debdea316069ceb9d1d5ace2
1 // Test the -fwritable-strings option.
3 // RUN: %llvmgcc -O3 -S -o - -fwritable-strings %s | \
4 // RUN: grep {internal unnamed_addr global}
5 // RUN: %llvmgcc -O3 -S -o - %s | grep {private unnamed_addr constant}
7 char *X = "foo";