From [5.3.3/1], I found that:
The sizeof operator shall not be applied to an expression that has function or incomplete type
Fro
void() is a function type (it's a function which takes no arguments and returns nothing), so it's not a valid type in sizeof().
void()
sizeof()