summary refs log tree commit diff stats
path: root/tests/sandwich/generic_library.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/sandwich/generic_library.nim')
-rw-r--r--tests/sandwich/generic_library.nim6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/sandwich/generic_library.nim b/tests/sandwich/generic_library.nim
new file mode 100644
index 000000000..43e7bd65f
--- /dev/null
+++ b/tests/sandwich/generic_library.nim
@@ -0,0 +1,6 @@
+
+proc libraryFunc*[T](x: T) =
+  mixin mixedIn, indirectlyMixedIn
+  echo mixedIn()
+  echo indirectlyMixedIn()
+