aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/Assembler/2004-03-30-UnclosedFunctionCrash.llx3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/Assembler/2004-03-30-UnclosedFunctionCrash.llx b/test/Assembler/2004-03-30-UnclosedFunctionCrash.llx
new file mode 100644
index 0000000000..0838066b58
--- /dev/null
+++ b/test/Assembler/2004-03-30-UnclosedFunctionCrash.llx
@@ -0,0 +1,3 @@
+; RUN: llvm-as %s 2>&1 | grep error
+
+void %foo() {