1 2 3 4 5 6 7 | #define short short int #define Int16 short int int main(void) { Int16 y; } |
I2RlZmluZSBzaG9ydCBzaG9ydCBpbnQKI2RlZmluZSBJbnQxNiBzaG9ydCBpbnQKCmludCBtYWluKHZvaWQpCnsKICAgIEludDE2IHk7Cn0=
prog.cpp: In function 'int main()': prog.cpp:6:11: error: two or more data types in declaration of 'y'
-
result: Compilation error (maybe you wish to see an example for C++11)


