| Eric Christopher | 85e5156 | 2011-07-26 22:17:02 +0000 | [diff] [blame] | 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; | ||||