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
2014-02-26 Fabien Chene <fabien@gcc.gnu.org>
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
static17.C
1
// PR c++/23896
2
3
template <int> struct X {};
4
5
template <typename T> struct length {
6
static const int value = 2;
7
};
8
9
template <typename T> void foo () {
10
sizeof(X<length<T>::value>);
11
}
12
13
template void foo<int>();