summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/template/error14.C
blob: c5043cfb4cba782904855d54af01d0a631e76520 (plain)
1
2
3
4
5
6
7
8
// PR c++/16904

template<typename T> struct X
{
  X() { this->T::i; } // { dg-error "" }
};

X<int> x;