-- cue.mod/modules.cue --
-- file1.cue --
@extern("testfn")

package foo

Fn1: {
	@testfn("file1.xx")
}

-- file2.cue --
@extern("testfn")

package foo

Fn2: {
	@testfn("file2.xx")
}

-- out/extern --
{
	Fn1: impl1
	Fn2: impl2
}
