Nullable pointer and loop inlining tests. #22
|
@ -1046,12 +1046,12 @@ main := fn(): uint {
|
|||
```hb
|
||||
x := 1
|
||||
|
||||
foo := fn(): int {
|
||||
foo := fn(): void {
|
||||
loop if true break
|
||||
x = 0
|
||||
}
|
||||
|
||||
main := fn(): int {
|
||||
main := fn(): uint {
|
||||
@inline(foo)
|
||||
return x
|
||||
}
|
||||
|
|
|
@ -4412,6 +4412,7 @@ mod tests {
|
|||
writing_into_string;
|
||||
request_page;
|
||||
tests_ptr_to_ptr_copy;
|
||||
inlining_loops;
|
||||
null_check_test;
|
||||
|
||||
// Just Testing Optimizations;
|
||||
|
|
0
lang/tests/son_tests_inlining_loops.txt
Normal file
0
lang/tests/son_tests_inlining_loops.txt
Normal file
Loading…
Reference in a new issue