llvm-for-llvmta/tools/clang/test/Import/indirect-goto/test.cpp

11 lines
225 B
C++
Raw Permalink Normal View History

2022-04-25 13:02:35 +02:00
// RUN: clang-import-test -dump-ast -import %S/Inputs/F.cpp -expression %s | FileCheck %s
// CHECK: IndirectGotoStmt
// CHECK-NEXT: ImplicitCastExpr
// CHECK-NEXT: DeclRefExpr
// CHECK-SAME: 'l1_ptr'
void expr() {
f();
}