source: icGREP/icgrep-devel/llvm-3.8.0.src/test/Assembler/2002-03-08-NameCollision2.ll @ 5027

Last change on this file since 5027 was 5027, checked in by cameron, 3 years ago

Upgrade to llvm 3.8

File size: 382 bytes
Line 
1; RUN: llvm-as %s -o /dev/null
2; RUN: verify-uselistorder %s
3
4; Another name collision problem.  Here the problem was that if a forward
5; declaration for a method was found, that this would cause spurious conflicts
6; to be detected between locals and globals.
7;
8@Var = external global i32              ; <i32*> [#uses=0]
9
10define void @foo() {
11        %Var = alloca i32               ; <i32*> [#uses=0]
12        ret void
13}
Note: See TracBrowser for help on using the repository browser.