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