diff options
Diffstat (limited to 'tests/parser/tbinarynotsameline.nim')
-rw-r--r-- | tests/parser/tbinarynotsameline.nim | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/parser/tbinarynotsameline.nim b/tests/parser/tbinarynotsameline.nim new file mode 100644 index 000000000..ca417e023 --- /dev/null +++ b/tests/parser/tbinarynotsameline.nim @@ -0,0 +1,10 @@ +# issue #23565 + +func foo: bool = + true + +const bar = block: + type T = int + not foo() + +doAssert not bar |