summary refs log tree commit diff stats
path: root/tests/pragmas/warn_module.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pragmas/warn_module.nim')
-rw-r--r--tests/pragmas/warn_module.nim7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/pragmas/warn_module.nim b/tests/pragmas/warn_module.nim
new file mode 100644
index 000000000..0d1e5f419
--- /dev/null
+++ b/tests/pragmas/warn_module.nim
@@ -0,0 +1,7 @@
+
+{.warning[UnusedImport]: off.}
+
+import hashes
+
+proc test(a: float): float =
+  a