1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-01 00:12:50 +01:00
llvm-mirror/test/FrontendC/2007-02-16-WritableStrings.c
Rafael Espindola 70a277119f Update llvm-gcc's tests.
llvm-svn: 123447
2011-01-14 17:01:20 +00:00

8 lines
231 B
C

// 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";