1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00
v/compiler/tests
lutherwenxu 5c79c0e743 compiler: enforce reserved keywords replacement
* compiler: Enforce reserved keywords replacement on empty value initialization

* compiler: Add test for reserved keywords enforcement

A new struct has been introduced in the tests that contains all C reserved keywords that are not reserved in V. Some read and write are tested too.
2019-09-28 14:13:09 +03:00
..
bench function argument benchmark 2019-07-25 00:13:54 +02:00
local compiler: add a test case to ensure more stable local modules 2019-08-05 10:05:00 +02:00
repl repl: tests show difference (in color where available) 2019-09-25 22:00:56 +03:00
defer_test.v allow multiple defers 2019-07-21 16:34:21 +02:00
enum_test.v Add enum_test.v 2019-07-13 12:19:57 +02:00
fn_multiple_returns_test.v compiler: multiple returns - add test & fix use with array/map 2019-09-23 13:39:35 +03:00
fn_test.v workaround for fn_test on windows 2019-09-04 18:24:41 +03:00
interface_test.v workaround msvc 0 struct field bug 2019-09-04 19:47:13 +03:00
local_test.v compiler: add a test case to ensure more stable local modules 2019-08-05 10:05:00 +02:00
match_test.v parser: match expression + match fixes 2019-08-27 00:39:11 +03:00
module_test.v testing: do not allow fn main in tests and make sure there is at least one test fn 2019-09-22 09:49:33 +03:00
msvc_test.v remove u8 and i32 from tests and examples 2019-09-02 15:02:25 +03:00
mut_test.v parser: restore outer variable in index exprs 2019-08-30 12:16:39 +03:00
option_test.v "none" keyword for optionals + more memory fixes 2019-09-18 14:15:10 +03:00
str_gen_test.v parser: cached tokens (second step) 2019-09-27 04:01:12 +03:00
string_interpolation_test.v scanner: string interpolation with $var at the end 2019-08-16 17:06:27 +03:00
struct_test.v compiler: enforce reserved keywords replacement 2019-09-28 14:13:09 +03:00