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:
parent
39afeb1aad
commit
8adb21944e
|
@ -0,0 +1,4 @@
|
|||
// PR c++/18586
|
||||
template <int> struct A {
|
||||
template <int N> int A<N>::i; // { dg-error "" }
|
||||
};
|
Loading…
Reference in New Issue