mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-26 14:15:53 +00:00
c3493cca4c
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75777 91177308-0d34-0410-b5e6-96231b3b80d8
8 lines
226 B
C
8 lines
226 B
C
// Test the -fwritable-strings option.
|
|
|
|
// RUN: %llvmgcc -O3 -S -o - -emit-llvm -fwritable-strings %s | \
|
|
// RUN: grep {private global}
|
|
// RUN: %llvmgcc -O3 -S -o - -emit-llvm %s | grep {private constant}
|
|
|
|
char *X = "foo";
|