blob: dd7ac2f9cec0e22b1237f2141e3e034569203330 [file] [log] [blame]
class C
{
template<typename U>
operator U(); // { dg-message "note" }
};
int fn (C c)
{
return C::operator float(c); // { dg-error "operator float.C" }
}