• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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[];
f()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 }
11