Commits

Armin Rigo committed 39e5ad4

Test for the 0-to-ptr convertion.

  • Participants
  • Parent commits d37c1dd

Comments (0)

Files changed (1)

     p = newp(BIntPtr, 14141)
     s = newp(BStructPtr, [12, 34, 56, p])
     assert s.p4 == p
+    s.p4 = 0
+    assert s.p4 == 0
     #
     s = newp(BStructPtr, [12, 34, 56, cast(BVoidP, 0)])
     assert s.p4 == 0