class C {}; int operator<<(C& , int) { return 0; } int main () { C() << 7; }
Standard input is empty
prog.cpp: In function ‘int main()’: prog.cpp:8: error: no match for ‘operator<<’ in ‘C() << 7’ prog.cpp:3: note: candidates are: int operator<<(C&, int)
Standard output is empty