summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/parse/error37.C
blob: 309912647021a8bcfc5efc31d5db3ab21e43848c (plain)
1
2
3
4
5
/* PR c++/42054 */
/* { dg-do compile } */

template<int int> struct A; /* { dg-error "two or more" } */
template<int int> struct A; /* { dg-error "two or more" } */