OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
PR c++/25492
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
repo5.C
1
// PR c++/25625
2
// { dg-options "-frepo" }
3
4
template< typename T, T N > struct integral_c {
5
static const T value = N;
6
typedef integral_c< T, value + 1 > next;
7
};
8
template< typename T, T N > T const integral_c< T, N >::value;
9
integral_c<int,0> a;
10
11
int main () {}