mirror of
https://github.com/nim-lang/Nim.git
synced 2025-12-28 17:04:41 +00:00
* add test for reject action * highlight that a compilation failure is expected * add the converse test for action=reject * add trailing newline * fix wording
7 lines
140 B
Nim
7 lines
140 B
Nim
discard """
|
|
action: "reject"
|
|
"""
|
|
|
|
# this line does not compile, so the test should pass, since action="reject"
|
|
let x: int = "type mismatch"
|