Nim/tests/typerel/ttypenovalue.nim
2020-07-14 19:50:42 +02:00

10 lines
195 B
Nim

discard """
errormsg: "invalid type: 'type seq[tuple[title: string, body: string]]' for var"
line: 7
"""
proc crashAndBurn() =
var stuff = seq[tuple[title, body: string]]
crashAndBurn()