summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/template/crash83.C
blob: b83dd213971447fde477fc78448d14ffa3b25478 (plain)
1
2
3
4
5
// PR c++/37650

template<int> struct A {};

template<typename = class A<0>: > struct B {}; // { dg-error "explicit specialization|expected" }