summary refs log tree commit diff stats
path: root/tests/pragmas
diff options
context:
space:
mode:
authorAndrii Riabushenko <cdome@bk.ru>2019-07-25 23:18:20 +0100
committerAndrii Riabushenko <cdome@bk.ru>2019-07-25 23:18:20 +0100
commit4c73139316fc7853b58f298a978ccd95aac6abe8 (patch)
tree8f39b17104808c10422c607d7ff024cb7be9d951 /tests/pragmas
parent95856ab8d3db88709c39c6809e81b8ea539b2e8b (diff)
downloadNim-4c73139316fc7853b58f298a978ccd95aac6abe8.tar.gz
revert changes
Diffstat (limited to 'tests/pragmas')
-rw-r--r--tests/pragmas/twarning_off.nim17
-rw-r--r--tests/pragmas/warn_module.nim7
2 files changed, 0 insertions, 24 deletions
diff --git a/tests/pragmas/twarning_off.nim b/tests/pragmas/twarning_off.nim
deleted file mode 100644
index 1b86c6299..000000000
--- a/tests/pragmas/twarning_off.nim
+++ /dev/null
@@ -1,17 +0,0 @@
-discard """
-  nimout: '''
-compile start
-Hint: warn_module [Processing]
-Hint: hashes [Processing]
-warn_module.nim(4, 6) Hint: 'test' is declared but not used [XDeclaredButNotUsed]
-compile end
-'''
-"""
-
-static:
-  echo "compile start"
-
-import warn_module
-
-static:
-  echo "compile end"
diff --git a/tests/pragmas/warn_module.nim b/tests/pragmas/warn_module.nim
deleted file mode 100644
index 0d1e5f419..000000000
--- a/tests/pragmas/warn_module.nim
+++ /dev/null
@@ -1,7 +0,0 @@
-
-{.warning[UnusedImport]: off.}
-
-import hashes
-
-proc test(a: float): float =
-  a