This code compiles ok with gcc 2.95. But with gcc 2.96, I got
# gcc -c v.c
v.c: In function `foo':
v.c:10: invalid use of void expression
Whose bug is it?
--
H.J. Lu (hjl@gnu.org)
--
typedef void sigret_t;
static sigret_t print_prompt(int sig)
{
}
void
foo ()
{
print_prompt (0);
}