summary refs log tree commit diff stats
path: root/tests/modules/mmodule_same_proc.nim
blob: 5ce56ec110e6ed18fb3eb20fb6d37943f9c54180 (plain) (blame)
1
2
3
4
5
6
# the module being the same name as the proc
# is a requirement to trigger the error
import mmodule_same_proc_client

proc bar*[T](foo: T): bool = foo.mmodule_same_proc_client()