aboutsummaryrefslogtreecommitdiffstats
path: root/test/Assembler/2004-03-30-UnclosedFunctionCrash.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Assembler/2004-03-30-UnclosedFunctionCrash.ll')
-rw-r--r--test/Assembler/2004-03-30-UnclosedFunctionCrash.ll3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/Assembler/2004-03-30-UnclosedFunctionCrash.ll b/test/Assembler/2004-03-30-UnclosedFunctionCrash.ll
new file mode 100644
index 0000000..62a7138
--- /dev/null
+++ b/test/Assembler/2004-03-30-UnclosedFunctionCrash.ll
@@ -0,0 +1,3 @@
+; RUN: not llvm-as %s |& grep error
+
+void %foo() {