Skip to content

Commit

Permalink
fixup! Add bitfield constants.
Browse files Browse the repository at this point in the history
  • Loading branch information
rsmmr committed Sep 1, 2023
1 parent 235dca0 commit 3550048
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/hilti/types/bitfield/ctor.hlt
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,6 @@ hilti::print(bf);

assert bf.a == 1;
assert-exception bf.b;
assert bf?.a;
assert ! bf?.b;
}

0 comments on commit 3550048

Please sign in to comment.