Stuart Hastings | 1d9582c | 2010-12-02 21:25:55 +0000 | [diff] [blame] | 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; | ||||
6 | } | ||||
7 | const int kABSourceTypeProperty; |