blob: 213bb6de90be4b6719119223b39d429fdc54c685 [file] [log] [blame]
class foo {
public:
operator <<(const void *); //ERROR - no return type
operator <<(char *); //ERROR - no return type
};
void main()
{ //ERROR - wrong return type for main
foo f;
f << (void*)0;
}