Update tests to (Foo) { ... } syntax.

This commit is contained in:
Christoffer Lerno
2025-02-18 18:53:30 +01:00
parent 168c11e006
commit cbacd64987
98 changed files with 449 additions and 551 deletions

View File

@@ -9,7 +9,7 @@ bitstruct Foo : int
fn void main()
{
Foo f;
int z = (int) Foo { .abc = 2, .defg = 1 };
int z = (int) (Foo) { .abc = 2, .defg = 1 };
}
/* #expect: test.ll