From 676fbe8105eeb6ff4bb2ed261cb212fcfdbe7b63 Mon Sep 17 00:00:00 2001 From: Dimitry Andric Date: Sat, 19 Jan 2019 10:04:05 +0000 Subject: Vendor import of clang trunk r351319 (just before the release_80 branch point): https://llvm.org/svn/llvm-project/cfe/trunk@351319 --- test/Import/array-init-loop-expr/test.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 test/Import/array-init-loop-expr/test.cpp (limited to 'test/Import/array-init-loop-expr/test.cpp') diff --git a/test/Import/array-init-loop-expr/test.cpp b/test/Import/array-init-loop-expr/test.cpp new file mode 100644 index 0000000000000..7fe109c305ddd --- /dev/null +++ b/test/Import/array-init-loop-expr/test.cpp @@ -0,0 +1,10 @@ +// 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() { + f(); +} -- cgit v1.2.3