From 493cae1ca37bbe5b19bb364eae6a673b90737124 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Thu, 23 Oct 2008 00:24:51 +0000 Subject: [PATCH] make this test not depend on how the system header defines memset. llvm-svn: 58016 --- test/FrontendC/2004-02-13-Memset.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/FrontendC/2004-02-13-Memset.c b/test/FrontendC/2004-02-13-Memset.c index 423108b4475..451d3af5e77 100644 --- a/test/FrontendC/2004-02-13-Memset.c +++ b/test/FrontendC/2004-02-13-Memset.c @@ -1,6 +1,7 @@ // RUN: %llvmgcc -xc %s -c -o - | llvm-dis | grep llvm.memset | count 3 -#include +void *memset(void*, int, long); +void bzero(void*, int); void test(int* X, char *Y) { memset(X, 4, 1000);