Test case for r120740. Radar 8712503.

llvm-svn: 120741
This commit is contained in:
Stuart Hastings 2010-12-02 21:25:55 +00:00
parent b38ddd79ed
commit 55928bc576

View 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;