diff options
author | Mike Stump <mrs@apple.com> | 2009-10-08 23:05:06 +0000 |
---|---|---|
committer | Mike Stump <mrs@apple.com> | 2009-10-08 23:05:06 +0000 |
commit | 76bee4b756badefda61ce867c757cc31b7afa12f (patch) | |
tree | 6ae2b92f2f30250fc13884c707d6f3ce4afca44c /test/CodeGen/stack-protector.c | |
parent | a55cce8b3e579e62a503976235de5d35fcf6a893 (diff) |
Speed up testing by avoiding stdio.h, also helps testing on windows.
Patch by John Thompson.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@83593 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/stack-protector.c')
-rw-r--r-- | test/CodeGen/stack-protector.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/CodeGen/stack-protector.c b/test/CodeGen/stack-protector.c index bdac853aed..0b5924d811 100644 --- a/test/CodeGen/stack-protector.c +++ b/test/CodeGen/stack-protector.c @@ -12,8 +12,7 @@ // RUN: not grep 'ssp' %t && // RUN: true -#include <stdio.h> -#include <string.h> +int printf(const char * _Format, ...); void test1(const char *msg) { char a[strlen(msg) + 1]; |