diff options
Diffstat (limited to 'clang/test/Import/expr-with-cleanups/test.cpp')
-rw-r--r-- | clang/test/Import/expr-with-cleanups/test.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/clang/test/Import/expr-with-cleanups/test.cpp b/clang/test/Import/expr-with-cleanups/test.cpp new file mode 100644 index 00000000000..79b76f414ec --- /dev/null +++ b/clang/test/Import/expr-with-cleanups/test.cpp @@ -0,0 +1,8 @@ +// RUN: clang-import-test -dump-ast -import %S/Inputs/S.cpp -expression %s | FileCheck %s +// CHECK: ExprWithCleanups +// CHECK-SAME: 'RAII' +// CHECK-NEXT: CXXBindTemporaryExpr + +void expr() { + f(); +} |