summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/template/crash32.C
blob: 4c7af8a39142fa4c33ce8760bbccc0644ba5b549 (plain)
1
2
3
4
5
6
7
8
9
// PR c++/19667

struct integral_constant { };

template<typename _Tp>
struct is_function : public integral_constant { };

template<>
struct is_function : public integral_constant { }; // { dg-error "" }