#include <cmath> struct y1 { }; int main() { sizeof(y1); }
Standard input is empty
prog.cpp: In function ‘int main()’: prog.cpp:9:14: error: ISO C++ forbids applying ‘sizeof’ to an expression of function type [-fpermissive] prog.cpp:9:15: warning: statement has no effect [-Wunused-value]
Standard output is empty