Reviewers: a.sidorin, a_sidorin
Reviewed By: a_sidorin
Subscribers: martong, cfe-commits
Differential Revision: https://reviews.llvm.org/D50733
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@339831
91177308-0d34-0410-b5e6-
96231b3b80d8
--- /dev/null
+class S {
+ int a[10];
+};
--- /dev/null
+// RUN: clang-import-test -dump-ast -import %S/Inputs/S.cpp -expression %s | FileCheck %s
+// CHECK: CXXCtorInitializer
+// CHECK-NEXT: ArrayInitLoopExpr
+// CHECK-SAME: 'int [10]'
+
+// CHECK: ArrayInitIndexExpr
+
+void expr() {
+ S s;
+ S copy = s;
+}