void f (char *s){} int main() { const char s[1] = {'a'}; f(s); }
Standard input is empty
cc1: warnings being treated as errors prog.c: In function ‘main’: prog.c:5: error: passing argument 1 of ‘f’ discards qualifiers from pointer target type
Standard output is empty