Nim/testament/tests/shouldfail/tnimoutfull.nim
Timothee Cour a236002e54
testament: add nimoutFull: bool spec (#17867)
* testament: add `nimoutFull: bool` spec
* PRTEMP
* works
* cleanup
* add test for #12741
* PRTEMP failing test
* remove unrelated changes
* changelog
2021-04-27 11:11:28 +02:00

15 lines
226 B
Nim

discard """
targets: "c"
nimout: '''
msg1
msg2
'''
action: compile
nimoutFull: true
"""
# should fail because `msg3` is not in nimout and `nimoutFill: true` was given
static:
echo "msg1"
echo "msg2"
echo "msg3"