diff --git a/llvm/test/Regression/CFrontend/2004-02-13-Memset.c.tr b/llvm/test/Regression/CFrontend/2004-02-13-Memset.c.tr new file mode 100644 index 000000000000..ca0db7a18b28 --- /dev/null +++ b/llvm/test/Regression/CFrontend/2004-02-13-Memset.c.tr @@ -0,0 +1,6 @@ +// RUN: %llvmgcc -xc %s -c -o - | llvm-dis | grep llvm.memset | wc -l | grep 3 + +void test(int* X, char *Y) { + memset(X, 4, 1000); + bzero(Y, 100); +}