Debian Codegraph @

gcc/testsuite/g++.dg/template/partial4.C

raw
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 };