summaryrefslogtreecommitdiffstats
path: root/test/SemaTemplate/instantiate-function-1.mm
blob: aef2d9dbb7ebd81be5ba8f453f4b0a0215dad76d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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}}
  }
};
OpenPOWER on IntegriCloud