aboutsummaryrefslogtreecommitdiffstats
path: root/test/CFrontend
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-07-30 05:57:03 +0000
committerChris Lattner <sabre@nondot.org>2002-07-30 05:57:03 +0000
commitfd5951c16b1b2825b2bc34fa72b4fed5ab7502c9 (patch)
treea204591e7eb6805fd4af8e125d3877f307ca479f /test/CFrontend
parent2e1749bbf8c25a99c6b951e4d2fb771f906434ea (diff)
downloadexternal_llvm-fd5951c16b1b2825b2bc34fa72b4fed5ab7502c9.zip
external_llvm-fd5951c16b1b2825b2bc34fa72b4fed5ab7502c9.tar.gz
external_llvm-fd5951c16b1b2825b2bc34fa72b4fed5ab7502c9.tar.bz2
New testcase distilled from trying to compile burg with LLVM
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3148 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CFrontend')
-rw-r--r--test/CFrontend/2002-07-30-VarArgsCallFailure.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/CFrontend/2002-07-30-VarArgsCallFailure.c b/test/CFrontend/2002-07-30-VarArgsCallFailure.c
new file mode 100644
index 0000000..dfe9d63
--- /dev/null
+++ b/test/CFrontend/2002-07-30-VarArgsCallFailure.c
@@ -0,0 +1,6 @@
+#include <stdio.h>
+int tcount;
+void foo() {
+ char Buf[10];
+ sprintf(Buf, "n%%%d", tcount++);
+}