diff options
Diffstat (limited to 'tests/stylecheck/t20397.nim')
-rw-r--r-- | tests/stylecheck/t20397.nim | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/stylecheck/t20397.nim b/tests/stylecheck/t20397.nim new file mode 100644 index 000000000..486a97d73 --- /dev/null +++ b/tests/stylecheck/t20397.nim @@ -0,0 +1,4 @@ +{.hintAsError[Name]:on.} +var a_b = 1 +discard a_b +{.hintAsError[Name]:off.} \ No newline at end of file |