diff options
author | Chris Lattner <sabre@nondot.org> | 2008-02-17 00:12:03 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2008-02-17 00:12:03 +0000 |
commit | 26fdb11e4eee597b1b8980336bfde6af1e04273c (patch) | |
tree | debc912065bea20e3f2adf3429bd6ffd4f546e3a /test/Assembler | |
parent | 8a39257fa5b746a82989ed6c0c2b0d527dd43422 (diff) | |
download | external_llvm-26fdb11e4eee597b1b8980336bfde6af1e04273c.zip external_llvm-26fdb11e4eee597b1b8980336bfde6af1e04273c.tar.gz external_llvm-26fdb11e4eee597b1b8980336bfde6af1e04273c.tar.bz2 |
this test isn't useful since we added @ notation for globals.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47229 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Assembler')
-rw-r--r-- | test/Assembler/2004-12-05-LocalGlobalSymtabConflict.ll | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/test/Assembler/2004-12-05-LocalGlobalSymtabConflict.ll b/test/Assembler/2004-12-05-LocalGlobalSymtabConflict.ll deleted file mode 100644 index 7372497..0000000 --- a/test/Assembler/2004-12-05-LocalGlobalSymtabConflict.ll +++ /dev/null @@ -1,21 +0,0 @@ -; RUN: llvm-as < %s | opt -inline | llvm-dis | \ -; RUN: not grep {%G = alloca int} - -; In this testcase, %bar stores to the global G. Make sure that inlining does -; not cause it to store to the G in main instead. -@G = global i32 7 ; <i32*> [#uses=1] - -define i32 @main() { - %G = alloca i32 ; <i32*> [#uses=2] - store i32 0, i32* %G - call void @bar( ) - %RV = load i32* %G ; <i32> [#uses=1] - ret i32 %RV -} - -define internal void @bar() { - store i32 123, i32* @G - ret void -} - - |