* Fix #15305

* Fix test
This commit is contained in:
Clyybber 2020-09-12 13:39:46 +02:00 • committed by GitHub
commit 1881fc5812
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 13 additions and 2 deletions

12
tests/parser/tifexprs.nim Normal file
View file

@ -0,0 +1,12 @@
discard """
output: '''
1
'''
"""
var a, b: int
let x = if a > b:
0
else: 1
echo x