isl_test.c: test_construction: use return value of isl_constraint_set_constant
commit669c75be3c07f9cd85c24de5fb952fed6e35464b
authorSven Verdoolaege <skimo@kotnet.org>
Sat, 7 Jan 2017 10:47:36 +0000 (7 11:47 +0100)
committerSven Verdoolaege <skimo@kotnet.org>
Mon, 9 Jan 2017 15:45:34 +0000 (9 16:45 +0100)
tree613ff01a28ffcd0895d150f66883643afa7e3be1
parent460a6a79ac254de7b49a91567631325e3b64e078
isl_test.c: test_construction: use return value of isl_constraint_set_constant

This was missing from e2a2317 (reimplement isl_constraint in terms
of isl_aff, Fri Jul 1 17:20:52 2011 +0200).
Even though isl_constraint_set_constant may theoretically return
a different pointer, it will not do so in practice in this case
because there are no other references to the input constraint.

Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
isl_test.c