make this test not depend on how the system header defines memset.

llvm-svn: 58016
This commit is contained in:
Chris Lattner 2008-10-23 00:24:51 +00:00
parent 5447f9679d
commit 493cae1ca3

View File

@ -1,6 +1,7 @@
// RUN: %llvmgcc -xc %s -c -o - | llvm-dis | grep llvm.memset | count 3
#include <memory.h>
void *memset(void*, int, long);
void bzero(void*, int);
void test(int* X, char *Y) {
memset(X, 4, 1000);