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 @@ -1,3 +1,8 @@ class S { int a[10]; }; + +void f() { + S s; + S copy = s; +} 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 @@ -6,6 +6,5 @@ // CHECK: ArrayInitIndexExpr void expr() { - S s; - S copy = s; + f(); }