diff options
author | Chris Lattner <sabre@nondot.org> | 2007-04-26 05:28:45 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2007-04-26 05:28:45 +0000 |
commit | 5fc30dfe7145d4d02ea2b39337691ad1bf2e9d90 (patch) | |
tree | f99fb4c65bd5e407f4f18e9a6d06deef99cf92bd /test/Assembler | |
parent | c59c0afd7d24480f5a23d8fd6764ecfd6d4424cc (diff) | |
download | external_llvm-5fc30dfe7145d4d02ea2b39337691ad1bf2e9d90.zip external_llvm-5fc30dfe7145d4d02ea2b39337691ad1bf2e9d90.tar.gz external_llvm-5fc30dfe7145d4d02ea2b39337691ad1bf2e9d90.tar.bz2 |
new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36468 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Assembler')
-rw-r--r-- | test/Assembler/2007-04-25-AssemblerFoldExternWeak.ll | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/Assembler/2007-04-25-AssemblerFoldExternWeak.ll b/test/Assembler/2007-04-25-AssemblerFoldExternWeak.ll new file mode 100644 index 0000000..c26d9eb --- /dev/null +++ b/test/Assembler/2007-04-25-AssemblerFoldExternWeak.ll @@ -0,0 +1,6 @@ +; RUN: llvm-as < %s | llvm-dis | grep {icmp.*test_weak.*null} +; PR1358 +@G = global i1 icmp ne (i32 (...)* @test_weak, i32 (...)* null) + +declare extern_weak i32 @test_weak(...) + |