blob: c660050628ec0271f4a084387b4a80466bf871fb [file] [log] [blame]
// { dg-do assemble }
class foo {
public:
operator <<(const void *); //{ dg-error "" } no return type
operator <<(char *); //{ dg-error "" } no return type
};
void main() // { dg-error "must return .int" }
{
foo f;
f << (void*)0;
}