mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-18 12:29:21 +00:00
8 lines
219 B
C
8 lines
219 B
C
|
// Test the -fwritable-strings option.
|
||
|
|
||
|
// RUN: %llvmgcc -O3 -S -o - -emit-llvm -fwritable-strings %s | grep 'internal global' &&
|
||
|
// RUN: %llvmgcc -O3 -S -o - -emit-llvm %s | grep 'internal constant'
|
||
|
|
||
|
char *X = "foo";
|
||
|
|