cgen: add a test for builtin_init being present (part 2 of 4a6941a)

This commit is contained in:
Delyan Angelov 2025-08-05 16:22:56 +03:00
parent 4a6941af6c
commit 5c5566eca4
No known key found for this signature in database
GPG Key ID: 66886C0F12D595ED
3 changed files with 3 additions and 0 deletions

1
vlib/v/gen/c/testdata/hw.c.must_have vendored Normal file
View File

@ -0,0 +1 @@
VV_LOC void builtin_init(void) {

1
vlib/v/gen/c/testdata/hw.out vendored Normal file
View File

@ -0,0 +1 @@
hello world

1
vlib/v/gen/c/testdata/hw.vv vendored Normal file
View File

@ -0,0 +1 @@
println('hello world')