parent
7c08303faf
commit
0b2a3f6f7f
2 changed files with 34 additions and 7 deletions
|
|
@ -160,3 +160,21 @@ block:
|
|||
["", "M", "MM", "MMM", "--", "-", "--", "---", "----", "--"],
|
||||
]
|
||||
doAssert encoding.len == 4
|
||||
|
||||
# #10886
|
||||
|
||||
proc tor(): bool =
|
||||
result = true
|
||||
result = false or result
|
||||
|
||||
proc tand(): bool =
|
||||
result = false
|
||||
result = true and result
|
||||
|
||||
const
|
||||
ctor = tor()
|
||||
ctand = not tand()
|
||||
|
||||
static:
|
||||
doAssert ctor
|
||||
doAssert ctand
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue