Use the correct definition for memset.

llvm-svn: 136188
This commit is contained in:
Eric Christopher 2011-07-26 23:44:22 +00:00
parent 33c0c77073
commit 99c3638935
1 changed files with 3 additions and 6 deletions

View File

@ -1,11 +1,8 @@
// RUN: %clang_cc1 %s -emit-llvm -o - | grep llvm.memset | count 3
#ifndef memset
void *memset(void*, int, unsigned long);
#endif
#ifndef bzero
void bzero(void*, unsigned long);
#endif
typedef __SIZE_TYPE__ size_t;
void *memset(void*, int, size_t);
void bzero(void*, size_t);
void test(int* X, char *Y) {
// CHECK: call i8* llvm.memset