Index: cfe/trunk/test/Import/array-init-loop-expr/Inputs/S.cpp =================================================================== --- cfe/trunk/test/Import/array-init-loop-expr/Inputs/S.cpp +++ cfe/trunk/test/Import/array-init-loop-expr/Inputs/S.cpp @@ -0,0 +1,3 @@ +class S { + int a[10]; +}; Index: cfe/trunk/test/Import/array-init-loop-expr/test.cpp =================================================================== --- cfe/trunk/test/Import/array-init-loop-expr/test.cpp +++ cfe/trunk/test/Import/array-init-loop-expr/test.cpp @@ -0,0 +1,11 @@ +// 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; +}