aboutsummaryrefslogtreecommitdiff
path: root/test/initializer-pointer-int-cast.c
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2022-08-05 12:43:48 -0700
committerMichael Forney <mforney@mforney.org>2022-08-05 12:43:48 -0700
commit6fabc79d81de56b6c1cdcc2242933fd792e2ddf9 (patch)
tree4e7b357ff9f1703ae452034fa7161b9da432f4c7 /test/initializer-pointer-int-cast.c
parentdc7e08ca0aaa21b9f62944e237f3fa068b40106f (diff)
expr: Fix constant evaluation of struct member address
fb00ba6978 had the side-effect of introducing an integer to pointer cast, which was not evaluated as a constant expression. To fix this, just set the type of the expression.
Diffstat (limited to 'test/initializer-pointer-int-cast.c')
0 files changed, 0 insertions, 0 deletions