1*f4a2713aSLionel Sambuc // RUN: %clang_cc1 -x c++ -include %S/Inputs/cxx-method.h -verify %s 2*f4a2713aSLionel Sambuc // RUN: %clang_cc1 -x c++ -emit-pch %S/Inputs/cxx-method.h -o %t 3*f4a2713aSLionel Sambuc // RUN: %clang_cc1 -include-pch %t -verify %s 4*f4a2713aSLionel Sambuc // expected-no-diagnostics 5*f4a2713aSLionel Sambuc m(int x)6*f4a2713aSLionel Sambucvoid S::m(int x) { } 7*f4a2713aSLionel Sambuc operator char*()8*f4a2713aSLionel SambucS::operator char *() { return 0; } 9*f4a2713aSLionel Sambuc operator const char*()10*f4a2713aSLionel SambucS::operator const char *() { return 0; } 11*f4a2713aSLionel Sambuc 12*f4a2713aSLionel Sambuc struct T : S {}; 13*f4a2713aSLionel Sambuc 14*f4a2713aSLionel Sambuc const T a = T(); 15*f4a2713aSLionel Sambuc T b(a); 16