Dan Gohman | f17a25c | 2007-07-18 16:29:46 +0000 | [diff] [blame] | 1 | ; RUN: llvm-upgrade < %s | llvm-as | opt -sccp | llvm-dis | not grep %X |
2 | |||||
3 | %G = uninitialized global [40x int] | ||||
4 | |||||
5 | implementation | ||||
6 | |||||
7 | int* %test() { | ||||
8 | %X = getelementptr [40x int]* %G, uint 0, uint 0 | ||||
9 | ret int* %X | ||||
10 | } |