1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-31 16:02:52 +01:00
llvm-mirror/test/FrontendC/2004-02-13-Memset.c
Duncan Sands caffd6f944 Make the declaration of bzero match size_t on
x86-64-linux.

llvm-svn: 58383
2008-10-29 15:57:37 +00:00

10 lines
201 B
C

// RUN: %llvmgcc -xc %s -c -o - | llvm-dis | grep llvm.memset | count 3
void *memset(void*, int, long);
void bzero(void*, long);
void test(int* X, char *Y) {
memset(X, 4, 1000);
bzero(Y, 100);
}