mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-07 08:34:59 +00:00
6d0f8345ac
This mirrors what is done for built-in operators.
9 lines
325 B
C++
9 lines
325 B
C++
// RUN: clang-import-test -dump-ast -import %S/Inputs/F.cpp -expression %s | FileCheck %s
|
|
void expr() {
|
|
f();
|
|
}
|
|
|
|
// CHECK: FunctionDecl 0x{{[^ ]*}} <{{[^>]*}}> line:{{.*}}:{{[^ ]*}} used f 'void ()'
|
|
// CHECK: -CallExpr 0x{{[^ ]*}} <{{[^>]*}}> 'void' adl
|
|
// CHECK: -CXXOperatorCallExpr 0x{{[^ ]*}} <{{[^>]*}}> 'void' '+' adl
|