1*67e74705SXin Li // RUN: %clang_cc1 -fsyntax-only -verify %s 2*67e74705SXin Li // PR4103: Make sure we have a location for the error 3*67e74705SXin Li class A { 4*67e74705SXin Li float a(int *); // expected-note{{passing argument to parameter here}} 5*67e74705SXin Li int b(); 6*67e74705SXin Li }; b()7*67e74705SXin Liint A::b() { return a(a((int*)0)); } // expected-error {{cannot initialize a parameter of type 'int *' with an rvalue of type 'float'}} 8*67e74705SXin Li 9