Gitly
English
Русский
Español
日本語
中文
Português
Pricing
Log in
Register
v2
/
vlib
/
v
/
checker
/
tests
/
redfine_global_const_fn_names.vv
26
lines
·
19
sloc
·
251 bytes
·
e104a5f571107323ade881a064326088d5e3d174
Raw
1
@[has_globals]
2
module main
3
4
__global abc = 1
5
6
@[export: 'abc']
7
const abc1 = 2
8
9
@[export: 'abc']
10
const abc2 = 3
11
12
@[export: 'fn1']
13
fn fn_abc1() {
14
}
15
16
@[export: 'fn1']
17
fn fn_abc2() {
18
}
19
20
@[export: 'abc.dd']
21
fn fn_abc3() {
22
}
23
24
@[export: xyz]
25
fn fn_xyz() {
26
}
27