aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/CBackend/2004-08-09-va-end-null.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/CBackend/2004-08-09-va-end-null.ll')
-rw-r--r--test/CodeGen/CBackend/2004-08-09-va-end-null.ll9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/CodeGen/CBackend/2004-08-09-va-end-null.ll b/test/CodeGen/CBackend/2004-08-09-va-end-null.ll
new file mode 100644
index 0000000..f8e8fe5
--- /dev/null
+++ b/test/CodeGen/CBackend/2004-08-09-va-end-null.ll
@@ -0,0 +1,9 @@
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=c
+
+declare void %llvm.va_end(sbyte*)
+
+void %test() {
+ call void %llvm.va_end( sbyte* null )
+ ret void
+}
+