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
2014-01-30 Alangi Derick <alangiderick@gmail.com>
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
partial4.C
blob
8ea202cdfa4969600c87a893fe5ddda36853ea38
1
// PR c++/25342
2
3
template < typename eval >
4
struct tpl_seq_search {
5
typedef typename eval::enum_type Enum;
6
template < Enum first, Enum last >
7
struct range {
8
};
9
template < Enum val >
10
struct range<val,val> {
11
};
12
};
13
struct xxx {
14
typedef int enum_type;
15
tpl_seq_search<xxx>::range<0, 1> a;
16
};