diff options
Diffstat (limited to 'test/Import/array-init-loop-expr/test.cpp')
-rw-r--r-- | test/Import/array-init-loop-expr/test.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
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(); +} |