blob: cd81c03ea19ccf46bee268116a51ea44b1badc0f [file] [log] [blame]
Reid Spencerd7c2c2f2006-12-02 20:34:08 +00001; RUN: llvm-upgrade < %s | llvm-as -o /dev/null -f
Tanya Lattnere7e3f2e2004-11-06 22:07:09 +00002
Chris Lattnerdf006052002-03-08 19:10:09 +00003; 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