Implemented assert keyword

This commit is contained in:
2024-07-25 16:47:25 +02:00
parent f0bc5039ee
commit f4dd9004be
14 changed files with 81 additions and 1 deletions

6
tests/programs/assert.q Normal file
View File

@ -0,0 +1,6 @@
main() {
assert 1 != 0
assert 1 == 0 || 1 != 0
assert 1 != 0 && 2 != 0
assert 1 == 0
}