diff options
Diffstat (limited to 'test/CodeGen/2002-07-30-VarArgsCallFailure.c')
-rw-r--r-- | test/CodeGen/2002-07-30-VarArgsCallFailure.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/CodeGen/2002-07-30-VarArgsCallFailure.c b/test/CodeGen/2002-07-30-VarArgsCallFailure.c new file mode 100644 index 000000000000..784305d6d3b6 --- /dev/null +++ b/test/CodeGen/2002-07-30-VarArgsCallFailure.c @@ -0,0 +1,8 @@ +// RUN: %clang_cc1 -emit-llvm %s -o /dev/null + +int tcount; +void test(char *, const char*, int); +void foo() { + char Buf[10]; + test(Buf, "n%%%d", tcount++); +} |