3 // Copyright (C) 2000 Free Software Foundation, Inc.
4 // Contributed by Nathan Sidwell 26 Feb 2000 <nathan@codesourcery.com>
6 // template functions can be distinguished by return type alone. The return
7 // type may also be a template parameter.
9 template <typename C> C foo (); // { dg-bogus "" }
13 int (*pfn1) () = &foo; // { dg-bogus "" }
14 void (*pfn2) () = &foo; // { dg-bogus "" }