| Eli Friedman | c60ccf5 | 2012-02-29 00:00:28 +0000 | [diff] [blame^] | 1 | // RUN: %clang_cc1 -std=c++11 -S -emit-llvm -o - %s | FileCheck %s |
| 2 | |||||
| 3 | struct A { int a[1]; }; | ||||
| 4 | typedef A x[]; | ||||
| 5 | int f() { | ||||
| 6 | x{{{1}}}; | ||||
| 7 | // CHECK: define i32 @_Z1fv | ||||
| 8 | // CHECK: store i32 1 | ||||
| 9 | // (It's okay if the output changes here, as long as we don't crash.) | ||||
| 10 | } | ||||