class Test2 { public: Test2() {} private: int i{-1}; short j=-1;};int main(){ Test2 t2;}
Standard input is empty
Standard output is empty
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!