When removing a function from the function set and adding it to deferred, we
[llvm.git] / test / FrontendC / 2010-12-01-CommonGlobal.c
blob3f6d7e885807cc3e10a99cefe48fad1fef45edc2
1 // RUN: %llvmgcc -S %s -o - | llvm-as -o /dev/null
2 // Don't crash on a common-linkage constant global.
3 extern const int kABSourceTypeProperty;
4 int foo(void) {
5 return kABSourceTypeProperty;
7 const int kABSourceTypeProperty;