brintos

brintos / llvm-project-archived public Read only

0
0
Text · 307 B · c67b598 Raw
18 lines · plain
1// RUN: %clang_cc1 -fsyntax-only -verify %s2// XFAIL: *3 4template<typename T> struct Member0 {5  void f(T t) {6    t;7    t.f;8    t->f;9    10    T* tp;11    tp.f;12    tp->f;13 14    this->f;15    this.f; // expected-error{{member reference base type 'struct Member0 *const' is not a structure or union}}16  }17};18