llvm-mirror/test/CFrontend/2004-02-13-Memset.c

7 lines
143 B
C
Raw Normal View History

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