1// { dg-do run } 2// Copyright (C) 2000 Free Software Foundation, Inc. 3// Contributed by Nathan Sidwell 12 Feb 2001 <nathan@codesourcery.com> 4 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. 7 8template <typename T> int Foo (T const *) {return 1;} 9template <unsigned I> int Foo (char const (&)[I]) {return 2;} 10 11int main () 12{ 13 return Foo ("a") != 2; 14} 15