[Issue 22899] importC: extra parentheses in sizeof don't give an error with typedef types
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Mar 19 07:43:16 UTC 2022
https://issues.dlang.org/show_bug.cgi?id=22899
Walter Bright <bugzilla at digitalmars.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bugzilla at digitalmars.com
--- Comment #1 from Walter Bright <bugzilla at digitalmars.com> ---
The salient bit of the link is:
sizeof ((TYPE));
# This evokes a syntax error when TYPE is a type, but succeeds if TYPE
# is actually a variable.
--
More information about the Digitalmars-d-bugs
mailing list