3 // Copyright (C) 2000 Free Software Foundation, Inc.
4 // Contributed by Nathan Sidwell 10 Jan 2001 <nathan@codesourcery.com>
6 // Bug 1509. We ICE'd on trying to coerce a non-type template parm
14 template<class T, typename A<T>::F f>
16 static int g() { return f(); };
22 return B<int,&f>::g(); // { dg-error "" } could not convert arg