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