// RUN: %clang_cc1 -std=c++11 -verify %s -Wno-tautological-compare
structA{};template<typename T>voidf(int A::*pi,float A::*pf,int T::*pt, T A::*pu, T t){
pi = pi;
pi = pf;// expected-error {{assigning to 'int A::*' from incompatible type 'float A::*'}}
pi = pt;
pi = pu;
pi = t;}