diff options
Diffstat (limited to 'tests/init/tuninit1.nim')
-rw-r--r-- | tests/init/tuninit1.nim | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/init/tuninit1.nim b/tests/init/tuninit1.nim index fe91733ff..ac3007e8d 100644 --- a/tests/init/tuninit1.nim +++ b/tests/init/tuninit1.nim @@ -1,11 +1,10 @@ discard """ - nimout: "Warning: use explicit initialization of 'y' for clarity [Uninit]" - line:34 + nimout: "tuninit1.nim(34, 11) Warning: use explicit initialization of 'y' for clarity [Uninit]" action: compile """ import strutils - +{.experimental: "strictDefs".} {.warning[Uninit]:on.} proc p = |