This revision was automatically updated to reflect the committed changes. Closed by commit rL340467: [ASTImporter] Actually test ArrayInitLoopExpr in the array-init-loop-expr test. (authored by teemperor, committed by ). Herald added a subscriber: llvm-commits.
Changed prior to commit: https://reviews.llvm.org/D51115?vs=162004&id=162086#toc Repository: rL LLVM https://reviews.llvm.org/D51115 Files: cfe/trunk/test/Import/array-init-loop-expr/Inputs/S.cpp cfe/trunk/test/Import/array-init-loop-expr/test.cpp 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(); } 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(); } 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; +}
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits