mirror of
https://github.com/vlang/v.git
synced 2025-09-14 06:52:36 +03:00
This commit is contained in:
parent
86719c5de9
commit
1028f0b59e
7 changed files with 19 additions and 8 deletions
8
vlib/v/fmt/tests/generic_structs_using_mod_keep.vv
Normal file
8
vlib/v/fmt/tests/generic_structs_using_mod_keep.vv
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
import v.fmt.tests.obj
|
||||||
|
|
||||||
|
struct GenericStruct<A, B> {
|
||||||
|
}
|
||||||
|
|
||||||
|
fn main() {
|
||||||
|
_ := GenericStruct<obj.Test, obj.Test>{}
|
||||||
|
}
|
3
vlib/v/fmt/tests/obj/obj.v
Normal file
3
vlib/v/fmt/tests/obj/obj.v
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
module obj
|
||||||
|
|
||||||
|
pub struct Test {}
|
Loading…
Add table
Add a link
Reference in a new issue