various tests #23

Merged
mlokis merged 3 commits from koniifer/holey-bytes:trunk into trunk 2024-11-07 01:49:57 -06:00
2 changed files with 19 additions and 0 deletions
Showing only changes of commit d2ba7cc101 - Show all commits

View file

@ -626,6 +626,24 @@ main := fn(): uint {
}
```
#### returning_optional_issues
```hb
BMP := 0
get_format := fn(): ?uint {
return BMP
}
main := fn(): uint {
fmt := get_format()
if fmt == null {
return 1
} else {
return fmt
}
}
```
#### inlining_issues
```hb
main := fn(): void {

View file

@ -4595,5 +4595,6 @@ mod tests {
overwrite_aliasing_overoptimization;
more_if_opts;
optional_from_eca;
returning_optional_issues;
}
}