This testcase causes the CBE to generate code that is not legal C.
authorChris Lattner <sabre@nondot.org>
Mon, 9 Aug 2004 23:56:17 +0000 (23:56 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 9 Aug 2004 23:56:17 +0000 (23:56 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15601 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/CBackend/2004-08-09-va-end-null.ll [new file with mode: 0644]

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 (file)
index 0000000..7828de3
--- /dev/null
@@ -0,0 +1,7 @@
+declare void %llvm.va_end(sbyte*)
+
+void %test() {
+  call void %llvm.va_end( sbyte* null )
+  ret void
+}
+