summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/CodeGen/CBackend/2004-08-09-va-end-null.ll7
1 files changed, 7 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 0000000000..7828de39eb
--- /dev/null
+++ b/test/CodeGen/CBackend/2004-08-09-va-end-null.ll
@@ -0,0 +1,7 @@
+declare void %llvm.va_end(sbyte*)
+
+void %test() {
+ call void %llvm.va_end( sbyte* null )
+ ret void
+}
+