Chris Lattner | f05591d | 2004-07-14 22:59:47 +0000 | [diff] [blame^] | 1 | ; Test forward references and redefinitions of globals |
2 | |||||
3 | %Y = global void()* %X | ||||
4 | |||||
5 | %A = global int* %B | ||||
6 | %B = global int 7 | ||||
7 | %B = global int 7 | ||||
8 | |||||
9 | |||||
10 | declare void %X() | ||||
11 | |||||
12 | declare void %X() | ||||
13 | |||||
14 | void %X() { | ||||
15 | ret void | ||||
16 | } | ||||
17 | |||||
18 | declare void %X() |