Hacker News new | ask | show | jobs
by jwilk 2102 days ago
But then he also writes that "sizeof(void) is illegal".

OTOH, GCC documentation says "sizeof is also allowed on void and on function types, and returns 1".