Skip to content

Commit

Permalink
adds a test case
Browse files Browse the repository at this point in the history
  • Loading branch information
ringabout committed Sep 25, 2024
1 parent 4667bc2 commit 7c0c0ee
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/pragmas/tpush.nim
Original file line number Diff line number Diff line change
Expand Up @@ -124,3 +124,9 @@ foo31()
foo41()

{.pop.}

block:
{.push deprecated.}
template test() = discard
test()
{.pop.}

0 comments on commit 7c0c0ee

Please sign in to comment.