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

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