summaryrefslogtreecommitdiffstats
path: root/test/Assembler/2003-11-24-SymbolTableCrash.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Assembler/2003-11-24-SymbolTableCrash.ll')
-rw-r--r--test/Assembler/2003-11-24-SymbolTableCrash.ll10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/Assembler/2003-11-24-SymbolTableCrash.ll b/test/Assembler/2003-11-24-SymbolTableCrash.ll
new file mode 100644
index 0000000..041b0d9
--- /dev/null
+++ b/test/Assembler/2003-11-24-SymbolTableCrash.ll
@@ -0,0 +1,10 @@
+; RUN: not llvm-as < %s |& grep {multiple definition}
+
+define void @test() {
+ %tmp.1 = add i32 0, 1
+ br label %return
+return:
+ %tmp.1 = add i32 0, 1
+ ret void
+}
+