summary refs log tree commit diff stats
path: root/tests/deprecated/tnoannot.nim
blob: 9cc5c7e062c71f7d93241e9a588c2253c243a279 (plain) (blame)
1
2
3
4
5
6
7
discard """
  line: 7
  errormsg: "annotation to deprecated not supported here"
"""

var foo* {.deprecated.} = 42
var foo1* {.deprecated: "no".} = 42