#include <iostream>struct A { void operator()() {std::cout << "yes";}}; int main() { A()();}
Standard input is empty
yes
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!