| Reid Spencer | dfa4b1a | 2007-01-05 17:25:12 +0000 | [diff] [blame] | 1 | ; Test that redefinitions of globals produces an error in llvm-upgrade |
| 2 | ; RUN: llvm-upgrade < %s -o /dev/null -f 2>&1 | \ | ||||
| 3 | ; RUN: grep "Global variable '%B' was renamed to '" | ||||
| 4 | |||||
| 5 | %B = global int 7 | ||||
| 6 | %B = global int 7 | ||||