3 // Copyright (C) 2001, 2002 Free Software Foundation, Inc.
4 // Contributed by Nathan Sidwell 28 Dec 2001 <nathan@codesourcery.com>
9 template<class T> void f(T);
22 c.g; // { dg-error "statement cannot resolve" "" }
23 c.f; // { dg-error "statement cannot resolve" "" }
24 c.f<int>; // { dg-error "statement cannot resolve" "" }
26 c.g == 1; // { dg-error "invalid use of" "" }
27 c.f == 1; // { dg-error "invalid use of" "" }
28 c.f<int> == 1; // { dg-error "invalid use of" "" }