aboutsummaryrefslogtreecommitdiffstats
path: root/test/FrontendC/2007-02-16-WritableStrings.c
blob: ebf64c2c3161336e4254e1ac87130fe2b502f426 (plain)
1
2
3
4
5
6
7
// Test the -fwritable-strings option.

// RUN: %llvmgcc -O3 -S -o - -fwritable-strings %s | \
// RUN:    grep {internal global}
// RUN: %llvmgcc -O3 -S -o - %s | grep {private constant}

char *X = "foo";