summary refs log blame commit diff stats
path: root/tests/sandwich/module_using_generic_library.nim
blob: bbb0d92a4a382d701515754fa54d4a0ca100330b (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12











                                 
import
  generic_library, helper_module

proc mixedIn: int = 100

proc makeUseOfLibrary*[T](x: T) =
  bind mixedIn, indirectlyMixedIn
  libraryFunc(x)

when isMainModule:
  makeUseOfLibrary "test"