Gitly
English
Русский
Español
日本語
中文
Português
Log in
Register
v2
/
vlib
/
v
/
tests
/
fns
/
aliased_static_method_test.v
13
lines
·
9
sloc
·
143 bytes
·
3278614abb2e413295d093640ba718b8663f6ed0
Raw
1
module
main
2
3
struct
MyStruct {}
4
5
fn
MyStruct.new() {}
6
7
type
MyAlias = MyStruct
8
9
fn
test_main() {
10
MyStruct.new()
11
MyAlias.new()
12
assert
true
13
}
14