summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/template/crash14.C
blob: cf6fffa1a6bdd65e111bc855f23a05573c71c136 (plain)
1
2
3
4
5
// { dg-options -std=c++98 }

template <int T> class foo { public: foo() { } class Z { };};
template <int I[2]> void dep7(foo<I[0]> *) { } // { dg-error "" }