Daniel Dunbar | d7d5f02 | 2009-03-24 02:24:46 +0000 | [diff] [blame] | 1 | // RUN: clang-cc -emit-llvm %s -o %t && |
Chris Lattner | 95b851e | 2009-07-16 05:03:48 +0000 | [diff] [blame] | 2 | // RUN: grep 'private constant \[10 x i8\]' %t && |
Daniel Dunbar | c0489fe | 2009-03-02 18:50:36 +0000 | [diff] [blame] | 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 |