int main() { int x, y; int &z[2] = {x,y};}
Standard input is empty
prog.cpp: In function ‘int main()’: prog.cpp:5:10: error: declaration of ‘z’ as array of references
Standard output is empty
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!