int& myInt = 3;
Standard input is empty
prog.cpp:1:14: error: invalid initialization of non-const reference of type ‘int&’ from an rvalue of type ‘int’
Standard output is empty
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!