You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

46 lines
916 B

// RUN: clang-import-test -dump-ast -import %S/Inputs/F.cpp -expression %s | FileCheck %s
// CHECK: VarDecl
// CHECK-NEXT: Integer
// CHECK-NEXT: CompoundAssignOperator
// CHECK-SAME: '+='
// CHECK: VarDecl
// CHECK-NEXT: Integer
// CHECK-NEXT: CompoundAssignOperator
// CHECK-SAME: '-='
// CHECK: VarDecl
// CHECK-NEXT: Integer
// CHECK-NEXT: CompoundAssignOperator
// CHECK-SAME: '*='
// CHECK: VarDecl
// CHECK-NEXT: Integer
// CHECK-NEXT: CompoundAssignOperator
// CHECK-SAME: '/='
// CHECK: VarDecl
// CHECK-NEXT: Integer
// CHECK-NEXT: CompoundAssignOperator
// CHECK-SAME: '&='
// CHECK: VarDecl
// CHECK-NEXT: Integer
// CHECK-NEXT: CompoundAssignOperator
// CHECK-SAME: '^='
// CHECK: VarDecl
// CHECK-NEXT: Integer
// CHECK-NEXT: CompoundAssignOperator
// CHECK-SAME: '<<='
// CHECK: VarDecl
// CHECK-NEXT: Integer
// CHECK-NEXT: CompoundAssignOperator
// CHECK-SAME: '>>='
void expr() {
f();
}