1*67e74705SXin Li// RUN: %clang_cc1 -fsyntax-only -verify %s 2*67e74705SXin Li// XFAIL: * 3*67e74705SXin Li 4*67e74705SXin Litemplate<typename T> struct Member0 { 5*67e74705SXin Li void f(T t) { 6*67e74705SXin Li t; 7*67e74705SXin Li t.f; 8*67e74705SXin Li t->f; 9*67e74705SXin Li 10*67e74705SXin Li T* tp; 11*67e74705SXin Li tp.f; 12*67e74705SXin Li tp->f; 13*67e74705SXin Li 14*67e74705SXin Li this->f; 15*67e74705SXin Li this.f; // expected-error{{member reference base type 'struct Member0 *const' is not a structure or union}} 16*67e74705SXin Li } 17*67e74705SXin Li}; 18