Index: test/Import/array-init-loop-expr/Inputs/S.cpp =================================================================== --- test/Import/array-init-loop-expr/Inputs/S.cpp +++ test/Import/array-init-loop-expr/Inputs/S.cpp @@ -1,3 +1,8 @@ class S { int a[10]; }; + +void f() { + S s; + S copy = s; +} Index: test/Import/array-init-loop-expr/test.cpp =================================================================== --- test/Import/array-init-loop-expr/test.cpp +++ test/Import/array-init-loop-expr/test.cpp @@ -6,6 +6,5 @@ // CHECK: ArrayInitIndexExpr void expr() { - S s; - S copy = s; + f(); }