update
This commit is contained in:
12
tests/static_assert.sl
Normal file
12
tests/static_assert.sl
Normal file
@@ -0,0 +1,12 @@
|
||||
import stdlib/debug.sl
|
||||
import stdlib/io.sl
|
||||
|
||||
word ct_checks
|
||||
1 static_assert
|
||||
2 3 < static_assert
|
||||
end
|
||||
compile-time ct_checks
|
||||
|
||||
word main
|
||||
"static assert ok" puts
|
||||
end
|
||||
Reference in New Issue
Block a user