union U { int a; int & b;};int main() {}
Standard input is empty
prog.cpp:3:11: error: ‘U::b’ may not have reference type ‘int&’ because it is a member of a union int & b; ^
Standard output is empty
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!