diff --git a/tests/ic/myimp.nim b/tests/ic/myimp.nim new file mode 100644 index 0000000000..3e0bebe141 --- /dev/null +++ b/tests/ic/myimp.nim @@ -0,0 +1,4 @@ + +proc foo*(x: var int) = + inc x + diff --git a/tests/ic/timp.nim b/tests/ic/timp.nim new file mode 100644 index 0000000000..a1286b3fd8 --- /dev/null +++ b/tests/ic/timp.nim @@ -0,0 +1,7 @@ + +import myimp + +var x = 0 +foo(x) + +echo "hi ", x