mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-03-01 08:47:42 +00:00
Test case for r120740. Radar 8712503.
llvm-svn: 120741
This commit is contained in:
parent
b38ddd79ed
commit
55928bc576
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…
x
Reference in New Issue
Block a user