8 lines · c
1// RUN: %clang_cc1 -emit-llvm %s -o /dev/null2// Don't crash on a common-linkage constant global.3extern const int kABSourceTypeProperty;4int foo(void) {5 return kABSourceTypeProperty;6}7const int kABSourceTypeProperty;8 1// RUN: %clang_cc1 -emit-llvm %s -o /dev/null2// Don't crash on a common-linkage constant global.3extern const int kABSourceTypeProperty;4int foo(void) {5 return kABSourceTypeProperty;6}7const int kABSourceTypeProperty;8