repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[PR c++/84702] ICE with default tmpl arg of overload set
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
recurse2.C
blob
0df8e5244fdd4bbb65ba63ef0abae70ddda6c97f
1
// PR c++/9335
2
// We should not see an error about non-constant initialization.
3
4
template <int N> struct X {
5
static const int value = X<N-1>::value; // { dg-error "depth" }
6
};
7
template struct X<1000>;
8
9
// { dg-prune-output "compilation terminated" }