1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-21 20:12:56 +02:00
llvm-mirror/test/FrontendC/2007-02-16-WritableStrings.c
Evan Cheng dc2bb77b1b Update test to match 95961.
llvm-svn: 95971
2010-02-12 07:48:46 +00:00

8 lines
227 B
C

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