Files
clang-p2996/clang/test/Import/expr-with-cleanups/Inputs/S.cpp
Raphael Isemann 380e372b13 [ASTImporter] Add test for ExprWithCleanups
Reviewers: a.sidorin, a_sidorin

Reviewed By: a_sidorin

Subscribers: a_sidorin, martong, cfe-commits

Differential Revision: https://reviews.llvm.org/D50731

llvm-svn: 339830
2018-08-15 22:51:37 +00:00

9 lines
90 B
C++

struct RAII {
int i = 0;
RAII() { i++; }
~RAII() { i--; }
};
void f() {
RAII();
}