mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-18 10:31:57 +00:00
7 lines
123 B
Plaintext
7 lines
123 B
Plaintext
|
// RUN: %llvmgcc -xc++ -S -o - %s | not grep ' constant '
|
||
|
|
||
|
extern int X;
|
||
|
const int Y = X;
|
||
|
const int* foo() { return &Y; }
|
||
|
|