projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
New testcase
[oota-llvm.git]
/
test
/
CFrontend
/
2002-07-30-VarArgsCallFailure.c
diff --git
a/test/CFrontend/2002-07-30-VarArgsCallFailure.c
b/test/CFrontend/2002-07-30-VarArgsCallFailure.c
index dfe9d63c1b24483584d32b207ee93cfb1e4d7722..cdce478adc74d22368f54f76bdc98e3ae2207181 100644
(file)
--- a/
test/CFrontend/2002-07-30-VarArgsCallFailure.c
+++ b/
test/CFrontend/2002-07-30-VarArgsCallFailure.c
@@
-1,6
+1,6
@@
-#include <stdio.h>
int tcount;
+void test(char *, const char*, int);
void foo() {
char Buf[10];
-
sprintf
(Buf, "n%%%d", tcount++);
+
test
(Buf, "n%%%d", tcount++);
}