Improved scanner test coverage
All checks were successful
/ test (push) Successful in 14s

This commit is contained in:
Eduard Urbach 2025-06-22 14:35:49 +02:00
parent 320e023d74
commit ca91cd693c
Signed by: ed
GPG key ID: 49226B848C78F6C8
18 changed files with 64 additions and 61 deletions

View file

@ -1 +1 @@
main()
f()

View file

@ -0,0 +1 @@
f() 123

View file

@ -1 +1 @@
main@
f@

View file

@ -1,4 +1,4 @@
main() {
f() {
x := 123 +++ 456
syscall(60, x)
}

View file

@ -1,3 +1,3 @@
main() {
f() {
if 42 {}
}

View file

@ -1,3 +1,3 @@
main() {
f() {
syscall(+, -, *, /)
}

View file

@ -1 +1 @@
main
f

View file

@ -0,0 +1 @@
f 123

View file

@ -1 +1 @@
main(){
f(){

View file

@ -1,3 +1,3 @@
main() {
f() {
loop {
}

View file

@ -1 +1 @@
main()}
f()}

View file

@ -1 +1 @@
main(
f(

View file

@ -0,0 +1 @@
f() -> (

View file

@ -1 +1 @@
main)
f)

View file

@ -1 +1 @@
f(,) {}
f(a (int)->(int),) {}