blob: 2688b54c04ed7d14b150b489a633bff2c83f07fb [file] [log] [blame]
Tanya Lattnere7e3f2e2004-11-06 22:07:09 +00001; RUN: llvm-as < %s -o /dev/null -f
2
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