llvm-project/clang/test/CodeGen/string-init.c

9 lines
185 B
C
Raw Normal View History

2008-06-12 20:44:52 +08:00
// RUN: clang -emit-llvm %s -o - | not grep -F "[5 x i8]" &&
// RUN: clang -emit-llvm %s -o - | not grep "store"
void test(void) {
char a[10] = "asdf";
char b[10] = { "asdf" };
}