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

9 lines
185 B
C

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