2 // Each namespace contains an otherwise standalone test case, none of which
3 // should cause an ICE.
6 template <template <typename U, U> class> struct Sort;
8 template <template <typename U, U> class Comparator>
20 template <typename C, C> struct integral_constant {};
22 template <typename T, template <typename U, U> class> struct Sort;
24 template <template <typename U, U> class Comparator>
25 struct Sort<int, Comparator>
27 template <int I> struct less_than:
28 integral_constant<bool, Comparator<int, I>::value> {};
33 template <typename T, template <typename U, U> class> struct Sort;
35 template <template <typename U, U> class Comparator>
36 struct Sort<int, Comparator>