mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-24 22:32:47 +00:00
8 lines
226 B
C
8 lines
226 B
C
|
// RUN: %llvmgcc -S %s -o - | llvm-as -o /dev/null
|
||
|
// Don't crash on a common-linkage constant global.
|
||
|
extern const int kABSourceTypeProperty;
|
||
|
int foo(void) {
|
||
|
return kABSourceTypeProperty;
|
||
|
}
|
||
|
const int kABSourceTypeProperty;
|