summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/template/crash29.C
blob: 55953ed80100d559c5ff6f870f71313dc8e548cd (plain)
1
2
3
4
5
6
7
8
// PR c++/18512

template <int> struct A {};

struct B : A<0>
{
  void foo() { this->A<0>; } // { dg-error "" }
};