Daniel Dunbar | c0489fe | 2009-03-02 18:50:36 +0000 | [diff] [blame^] | 1 | // RUN: clang -emit-llvm %s -o %t && |
2 | // RUN: grep 'internal constant \[10 x i8\]' %t && | ||||
3 | // RUN: not grep -F "[5 x i8]" %t && | ||||
4 | // RUN: not grep "store " %t | ||||
Eli Friedman | 922696f | 2008-05-19 17:51:16 +0000 | [diff] [blame] | 5 | |
6 | void test(void) { | ||||
7 | char a[10] = "asdf"; | ||||
8 | char b[10] = { "asdf" }; | ||||
9 | } | ||||
10 |