blob: b773178e6b812f3b04a380c1d42f409735bbb51c [file] [log] [blame]
Eli Friedmanc60ccf52012-02-29 00:00:28 +00001// RUN: %clang_cc1 -std=c++11 -S -emit-llvm -o - %s | FileCheck %s
2
3struct A { int a[1]; };
4typedef A x[];
5int 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}