1 // Copyright (C) 2004 Free Software Foundation, Inc.
2 // Contributed by Nathan Sidwell 1 Apr 2004 <nathan@codesourcery.com>
5 template <typename T> void Foo (const T &);
6 template <typename T> void Baz (const T (*)()); // { dg-message "note" }
13 Baz (f); // { dg-error "no matching function" "" }
14 // { dg-message "candidate" "candidate note" { target *-*-* } 13 }