Fix some tests and do some cleanup.

This commit is contained in:
2025-01-01 23:06:53 +01:00
parent f13508262b
commit 4deb07027f
70 changed files with 439 additions and 361 deletions

View File

@@ -0,0 +1,13 @@
Foo :: struct {
some_data : float;
}
foo :: (f : Foo) -> float {
return f.some_data * 2.0;
}
vertex main :: () {
f : Foo;
f.some_data = 4.0;
d : float = foo(f);
}