mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-12 13:30:51 +00:00
Test case for r120740. Radar 8712503.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120741 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
9e413a96a3
commit
1d9582cf96
7
test/FrontendC/2010-12-01-CommonGlobal.c
Normal file
7
test/FrontendC/2010-12-01-CommonGlobal.c
Normal file
@ -0,0 +1,7 @@
|
||||
// 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;
|
Loading…
Reference in New Issue
Block a user