1 // { dg-do compile } 2 // Origin: John Maddock <john at johnmaddock dot co dot uk> 3 // PR c++/13997: Error while matching partial specialization of array type 4 5 template <typename T> 6 struct is_array; 7 8 template <typename T, unsigned int N> 9 struct is_array<T[N]>; 10 11 template <typename T, unsigned int N> 12 struct is_array<const T[N]> {}; 13 14 template struct is_array<int const[2]>; 15