blob: cd81c03ea19ccf46bee268116a51ea44b1badc0f [file] [log] [blame]
Dan Gohmanf17a25c2007-07-18 16:29:46 +00001; RUN: llvm-upgrade < %s | llvm-as -o /dev/null -f
2
3; Another name collision problem. Here the problem was that if a forward
4; declaration for a method was found, that this would cause spurious conflicts
5; to be detected between locals and globals.
6;
7%Var = uninitialized global int
8
9declare void "foo"()
10
11implementation
12
13void "foo"()
14begin
15 %Var = alloca int ; Conflict with global var
16 ret void
17end
18