diff options
Diffstat (limited to 'test/Import/expr-with-cleanups/test.cpp')
-rw-r--r-- | test/Import/expr-with-cleanups/test.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/Import/expr-with-cleanups/test.cpp b/test/Import/expr-with-cleanups/test.cpp new file mode 100644 index 0000000000000..79b76f414ecfa --- /dev/null +++ b/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(); +} |