cgen: fix tests
parent
7ce7151ad2
commit
883a105aca
|
@ -148,7 +148,7 @@ multi_return_int_string multi_return() {
|
||||||
|
|
||||||
void variadic(varg_int a) {
|
void variadic(varg_int a) {
|
||||||
int x = _const_path_sep;
|
int x = _const_path_sep;
|
||||||
int y = true ? 1 : 0;
|
int y = (true ? 1 : 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
void ensure_cap(int required, int cap) {
|
void ensure_cap(int required, int cap) {
|
||||||
|
|
|
@ -34,7 +34,7 @@ void User_foo(User* u) {
|
||||||
tos3(""),
|
tos3(""),
|
||||||
}), u->age);
|
}), u->age);
|
||||||
int a = 10;
|
int a = 10;
|
||||||
if (a == 10 || a == 20 || a == 30) {
|
if ((a == 10 || a == 20 || a == 30)) {
|
||||||
int b = 10;
|
int b = 10;
|
||||||
}
|
}
|
||||||
string name = tos3("Bob");
|
string name = tos3("Bob");
|
||||||
|
|
Loading…
Reference in New Issue