2 // Copyright (C) 2000 Free Software Foundation, Inc.
3 // Contributed by Nathan Sidwell 12 Feb 2001 <nathan@codesourcery.com>
5 // More from bug 1617. We didn't resolve partial ordering properly. The
6 // std is rather vague about it anyway, DR 214 talks about this.
8 template <typename T> int Foo (T const *) {return 1;}
9 template <unsigned I> int Foo (char const (&)[I]) {return 2;}
13 return Foo ("a") != 2;