diff options
author | Michael Forney <mforney@mforney.org> | 2019-04-05 20:02:26 -0700 |
---|---|---|
committer | Michael Forney <mforney@mforney.org> | 2019-04-06 12:01:51 -0700 |
commit | 4c697d5087e5f5aaa01bada73396058eed88525d (patch) | |
tree | f6ab372f390bcc83684282cdea1743daebeb6fd5 /tests/builtin-constant-p.qbe | |
parent | 2b95bd2fe11ac8e982fc88d42661bd5cf3f6e475 (diff) |
arg: Use (void *)0 instead of NULL in error case of conditional expression
Even though NULL is a null pointer constant, the comma expression with
NULL at the end is not. So, we must ensure that either the type of the
comma expression is `char *` or `void *`, and we don't know this for NULL.
Diffstat (limited to 'tests/builtin-constant-p.qbe')
0 files changed, 0 insertions, 0 deletions