v/vlib/v/gen/c/testdata
Delyan Angelov 5f38ba896e
parser,cgen: handle `const x = $embed_file("file.txt").to_string()`
2022-01-25 11:40:07 +02:00
..
addition.c.must_have v: add constant folding AST transformation (#11085) 2021-08-06 23:19:18 +03:00
addition.out v: add constant folding AST transformation (#11085) 2021-08-06 23:19:18 +03:00
addition.vv v: add constant folding AST transformation (#11085) 2021-08-06 23:19:18 +03:00
assert_fncalls.c.must_have v.gen.c: fix assert `f().len == 1` calling f() twice (closes issue 11501) 2021-09-16 19:01:35 +03:00
assert_fncalls.out v.gen.c: fix assert `f().len == 1` calling f() twice (closes issue 11501) 2021-09-16 19:01:35 +03:00
assert_fncalls.vv v.gen.c: fix assert `f().len == 1` calling f() twice (closes issue 11501) 2021-09-16 19:01:35 +03:00
compare_structs.c.must_have v.gen.c: fix compilation of `if c_struct_1 != c_struct_2 {` 2021-10-02 15:12:18 +03:00
compare_structs.vv v.gen.c: fix compilation of `if c_struct_1 != c_struct_2 {` 2021-10-02 15:12:18 +03:00
console_windows_program.c.must_have v.gen.c: add coutput tests for the `[console]` codegen to prevent future regressions 2021-10-06 00:14:16 +03:00
console_windows_program.vv v.gen.c: add coutput tests for the `[console]` codegen to prevent future regressions 2021-10-06 00:14:16 +03:00
const_references.c.must_have
const_references.out
const_references.vv
embed.c.must_have parser,cgen: handle `const x = $embed_file("file.txt").to_string()` 2022-01-25 11:40:07 +02:00
embed.vv tests: support `// vtest vflags: -prod` in `coutput_test.v`. 2021-10-05 15:44:12 +03:00
embed_with_prod.c.must_have parser,cgen: handle `const x = $embed_file("file.txt").to_string()` 2022-01-25 11:40:07 +02:00
embed_with_prod.out all: support `$embed_file('embed.vv', .zlib)` (#12654) 2021-12-04 19:43:19 +02:00
embed_with_prod.vv tests: support `// vtest vflags: -prod` in `coutput_test.v`. 2021-10-05 15:44:12 +03:00
embed_with_prod_and_several_decoders.c.must_have parser,cgen: handle `const x = $embed_file("file.txt").to_string()` 2022-01-25 11:40:07 +02:00
embed_with_prod_and_several_decoders.out all: support `$embed_file('embed.vv', .zlib)` (#12654) 2021-12-04 19:43:19 +02:00
embed_with_prod_and_several_decoders.vv all: support `$embed_file('embed.vv', .zlib)` (#12654) 2021-12-04 19:43:19 +02:00
embed_with_prod_zlib.c.must_have parser,cgen: handle `const x = $embed_file("file.txt").to_string()` 2022-01-25 11:40:07 +02:00
embed_with_prod_zlib.out all: support `$embed_file('embed.vv', .zlib)` (#12654) 2021-12-04 19:43:19 +02:00
embed_with_prod_zlib.vv all: support `$embed_file('embed.vv', .zlib)` (#12654) 2021-12-04 19:43:19 +02:00
enum_switch_case.c.must_have cgen: support RangeExpr while emitting enum switch case (#12226) 2021-10-19 17:02:22 +03:00
enum_switch_case.out cgen,js: fix missing break in switch case, generated by match with range branches (#12260) 2021-10-21 22:30:05 +03:00
enum_switch_case.vv cgen,js: fix missing break in switch case, generated by match with range branches (#12260) 2021-10-21 22:30:05 +03:00
for_in.c.must_have cgen: fixes for ... in with index (#11995) 2021-09-28 19:35:07 +03:00
for_in.out cgen: fixes for ... in with index (#11995) 2021-09-28 19:35:07 +03:00
for_in.vv cgen: fixes for ... in with index (#11995) 2021-09-28 19:35:07 +03:00
globals_with_weak_tag.c.must_have cgen,vfmt: support `[weak]` tags for functions and globals 2021-11-18 18:32:39 +02:00
globals_with_weak_tag.vv cgen,vfmt: support `[weak]` tags for functions and globals 2021-11-18 18:32:39 +02:00
gui_windows_program.c.must_have v.gen.c: add coutput tests for the `[console]` codegen to prevent future regressions 2021-10-06 00:14:16 +03:00
gui_windows_program.vv v.gen.c: add coutput tests for the `[console]` codegen to prevent future regressions 2021-10-06 00:14:16 +03:00
gui_windows_program_with_console_tag.c.must_have v.gen.c: add coutput tests for the `[console]` codegen to prevent future regressions 2021-10-06 00:14:16 +03:00
gui_windows_program_with_console_tag.vv v.gen.c: add coutput tests for the `[console]` codegen to prevent future regressions 2021-10-06 00:14:16 +03:00
volatile.c.must_have all: support `volatile field Type` in struct declarations 2021-11-04 09:45:50 +02:00
volatile.out all: support `volatile field Type` in struct declarations 2021-11-04 09:45:50 +02:00
volatile.vv all: support `volatile field Type` in struct declarations 2021-11-04 09:45:50 +02:00