Dan Gohman | f17a25c | 2007-07-18 16:29:46 +0000 | [diff] [blame] | 1 | ; Test that redefinitions of globals produces an error in llvm-upgrade |
2 | ; RUN: llvm-upgrade < %s -o /dev/null -f |& grep \ | ||||
3 | ; RUN: "Renaming global variable 'B' to.*linkage errors" | ||||
4 | |||||
5 | %B = global int 7 | ||||
6 | %B = global int 7 |