summary refs log tree commit diff stats
path: root/tests/ic/mdefconverter.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ic/mdefconverter.nim')
-rw-r--r--tests/ic/mdefconverter.nim2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/ic/mdefconverter.nim b/tests/ic/mdefconverter.nim
new file mode 100644
index 000000000..d0a23f801
--- /dev/null
+++ b/tests/ic/mdefconverter.nim
@@ -0,0 +1,2 @@
+
+converter toBool*(x: int): bool = x != 0