PR c++/11509
[official-gcc.git] / gcc / testsuite / g++.dg / template / crash6.C
blob776e01ebb6dbf9451594f8e84f72bbfb757c64b3
1 template <class> struct A { static const int n = 1; } ;
2 template <int> struct B;
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 };