tiny.c:0:23 error: expected `,' or `;' or `=' after declarator, got `{'
void(*foo(void))(void) { return 0; }
^
tiny.c:0:35 warning: missing type specifier, assume `int'
void(*foo(void))(void) { return 0; }
^
tiny.c:0:35 error: expected <identifier> or `(' starting direct-declarator, got `}'
void(*foo(void))(void) { return 0; }
^
(return code 0)
Content of file
void(*foo(void))(void) { return 0; }
psychec version
commit d10dc1ddfb7ea845f59274a4d6ca5d021ab31423
Author: Leandro T. C. Melo <LTCMELO@GMAIL.COM>
Date: Tue Mar 9 21:18:30 2021 -0300
fix postfixing on compound literal
GCC version:
clang version:
Output of
gcc -Werror -Wall -Wextra -Wpedantic -pedantic -std=c11 -c $FNAME
Output of
clang -Werror -Wall -Wextra -Wpedantic -pedantic -std=c11 -c $FNAME
Output of
cnip $FNAME
Content of file
psychec
version