| Daniel Dunbar | 4fcfde4 | 2009-11-08 01:45:36 +0000 | [diff] [blame] | 1 | // RUN: clang-cc -emit-llvm %s -o %t |
| 2 | // RUN: grep 'private constant \[10 x i8\]' %t | ||||
| 3 | // RUN: not grep -F "[5 x i8]" %t | ||||
| Daniel Dunbar | c0489fe | 2009-03-02 18:50:36 +0000 | [diff] [blame] | 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 | |||||