summary refs log tree commit diff stats
path: root/tests/stdlib/tsince.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/stdlib/tsince.nim')
-rw-r--r--tests/stdlib/tsince.nim7
1 files changed, 3 insertions, 4 deletions
diff --git a/tests/stdlib/tsince.nim b/tests/stdlib/tsince.nim
index 877a2bcda..a0a4229cb 100644
--- a/tests/stdlib/tsince.nim
+++ b/tests/stdlib/tsince.nim
@@ -27,7 +27,6 @@ doAssert ok
 since (99, 3):
   doAssert false
 
-when false:
-  # pending bug #15920
-  # Error: cannot attach a custom pragma to 'fun3'
-  template fun3(): int {.since: (1, 3).} = 12
+template fun3(): int {.since: (1, 3).} = 12
+
+doAssert declared(fun3)