llvm-6502/test/FrontendC/2004-02-13-Memset.c

10 lines
201 B
C
Raw Normal View History

// 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);
}