summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/template/spec28.C
blob: f0bb22caeb4041ada4d584b0ee2c4f89fc127941 (plain)
1
2
3
4
5
6
// PR c++/25854
// Bad diagnostic
// { dg-do compile }

template<typename> struct A {};  // { dg-error "provided" }
template<> struct A<> {};        // { dg-error "wrong number" }