re PR c++/18586 (ICE on invalid template member declaration)

PR c++/18586
	* g++.dg/template/crash27.C: New test.

From-SVN: r91191
This commit is contained in:
Mark Mitchell 2004-11-24 20:10:46 +00:00
parent 39afeb1aad
commit 8adb21944e
1 changed files with 4 additions and 0 deletions

View File

@ -0,0 +1,4 @@
// PR c++/18586
template <int> struct A {
template <int N> int A<N>::i; // { dg-error "" }
};