Commit 090c5291 by Giovanni Bajo

* g++.dg/template/partial3.C: New test.

From-SVN: r77237
parent baa49730
2003-02-04 Giovanni Bajo <giovannibajo@gcc.gnu.org>
* g++.dg/template/partial3.C: New test.
2004-02-04 Kazu Hirata <kazu@cs.umass.edu>
* gcc.dg/20020312-2.c, gcc.dg/builtin-inf-1.c,
......
// { dg-do compile }
// Origin: John Maddock <john at johnmaddock dot co dot uk>
// PR c++/13997: Error while matching partial specialization of array type
template <typename T>
struct is_array;
template <typename T, unsigned int N>
struct is_array<T[N]>;
template <typename T, unsigned int N>
struct is_array<const T[N]> {};
template struct is_array<int const[2]>;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment