blob: 253c90bdcf7e43b1abfe3f43d5a5f1609f47065c [file] [log] [blame]
// RUN: clang-import-test -dump-ast -import %S/Inputs/S.cpp -expression %s | FileCheck %s
// CHECK: VarDecl
// CHECK-SAME: int S::*
// CHECK-NEXT: CallExpr
// CHECK-NEXT: ImplicitCastExpr
// CHECK-SAME: int S::*(*)()
// CHECK-NEXT: DeclRefExpr
// CHECK-SAME: int S::*()
void expr() {
int S::*p = iptr();
S s;
s.i = 3;
int i = s.*p;
}