new testcase for llvm.memset generation

llvm-svn: 11440
This commit is contained in:
Chris Lattner 2004-02-14 04:26:15 +00:00
parent 141ebb625d
commit 2c0d1265dc
1 changed files with 7 additions and 0 deletions

View File

@ -0,0 +1,7 @@
// RUN: %llvmgcc -xc %s -c -o - | llvm-dis | grep llvm.memset
char test(int X) {
char str[10000] = "abc"; // tail should be memset.
return str[X];
}