int main(void) { int a[10]; (void*)a + 1; }
Standard input is empty
prog.c: In function 'main':
prog.c:4:14: error: pointer of type 'void *' used in arithmetic [-Werror=pointer-arith]
(void*)a + 1;
^
prog.c:4:5: error: statement with no effect [-Werror=unused-value]
(void*)a + 1;
^
cc1: all warnings being treated as errors
Standard output is empty