mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-02 16:56:50 +00:00
d19925f48f
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95971 91177308-0d34-0410-b5e6-96231b3b80d8
8 lines
227 B
C
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";
|