[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git] / clang / test / Import / call-expr / test.cpp
blobe2836a2bb9ded6d04ec37aeb2c597728883f5e04
1 // RUN: clang-import-test -dump-ast -import %S/Inputs/F.cpp -expression %s | FileCheck %s
2 void expr() {
3 f();
6 // CHECK: FunctionDecl 0x{{[^ ]*}} <{{[^>]*}}> line:{{.*}}:{{[^ ]*}} used f 'void ()'
7 // CHECK: -CallExpr 0x{{[^ ]*}} <{{[^>]*}}> 'void' adl
8 // CHECK: -CXXOperatorCallExpr 0x{{[^ ]*}} <{{[^>]*}}> 'void' '+' adl