// RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
;
T& ;
T&& ;
T ;
// In a .* expression whose object expression is an rvalue, the
// program is ill-formed if the second operand is a pointer to member
// function with ref-qualifier &. In a ->* expression or in a .*
// expression whose object expression is an lvalue, the program is
// ill-formed if the second operand is a pointer to member function
// with ref-qualifier &&.
void