☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
template
/
crash6.C
☽
☼
gcc/testsuite/g++.dg/template/crash6.C
code
plain
raw
1
template <class> struct A { static const int n = 1; } ;
2
template <int> struct B;
3
4
template <class S>
5
struct restype_order {
6
static const int s = A<S>::n;
7
typedef typename B<(s > 0)>::t t;
8
};