mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
cgen: fix tests
This commit is contained in:
parent
7ce7151ad2
commit
883a105aca
@ -148,7 +148,7 @@ multi_return_int_string multi_return() {
|
||||
|
||||
void variadic(varg_int a) {
|
||||
int x = _const_path_sep;
|
||||
int y = true ? 1 : 0;
|
||||
int y = (true ? 1 : 0);
|
||||
}
|
||||
|
||||
void ensure_cap(int required, int cap) {
|
||||
|
@ -34,7 +34,7 @@ void User_foo(User* u) {
|
||||
tos3(""),
|
||||
}), u->age);
|
||||
int a = 10;
|
||||
if (a == 10 || a == 20 || a == 30) {
|
||||
if ((a == 10 || a == 20 || a == 30)) {
|
||||
int b = 10;
|
||||
}
|
||||
string name = tos3("Bob");
|
||||
|
Loading…
Reference in New Issue
Block a user