int main() {int x;int &&r = x;}
Standard input is empty
prog.cpp: In function ‘int main()’: prog.cpp:4:11: error: cannot bind ‘int’ lvalue to ‘int&&’ prog.cpp:4:7: warning: unused variable ‘r’ [-Wunused-variable]
Standard output is empty
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!