mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
This commit is contained in:
parent
86719c5de9
commit
1028f0b59e
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…
Reference in New Issue
Block a user