]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/CodeGen/2010-12-01-CommonGlobal.c
Vendor import of clang release_38 branch r258549:
[FreeBSD/FreeBSD.git] / test / CodeGen / 2010-12-01-CommonGlobal.c
1 // RUN: %clang_cc1 -emit-llvm %s  -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;
6 }
7 const int kABSourceTypeProperty;