mirror of
https://github.com/vlang/v.git
synced 2025-09-24 04:48:28 -04:00
cgen: add a test for builtin_init being present (part 2 of 4a6941a)
This commit is contained in:
parent
4a6941af6c
commit
5c5566eca4
1
vlib/v/gen/c/testdata/hw.c.must_have
vendored
Normal file
1
vlib/v/gen/c/testdata/hw.c.must_have
vendored
Normal file
@ -0,0 +1 @@
|
||||
VV_LOC void builtin_init(void) {
|
1
vlib/v/gen/c/testdata/hw.out
vendored
Normal file
1
vlib/v/gen/c/testdata/hw.out
vendored
Normal file
@ -0,0 +1 @@
|
||||
hello world
|
1
vlib/v/gen/c/testdata/hw.vv
vendored
Normal file
1
vlib/v/gen/c/testdata/hw.vv
vendored
Normal file
@ -0,0 +1 @@
|
||||
println('hello world')
|
Loading…
x
Reference in New Issue
Block a user