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

@@ -39,10 +39,10 @@ struct Foo4
fn void main()
{
void* foo;
Foo *f = &&Foo { .expand = 2, .widget = &f };
Foo2 *f2 = &&Foo2 { .expand = 2, .widget = &f };
Foo3 *f3 = &&Foo3 { .expand = 2, .a = true, .b = true, .widget = &f };
Foo4 *f4 = &&Foo4 { .expand = 2, .a = true, .b = true, .widget = &f };
Foo *f = &&(Foo) { .expand = 2, .widget = &f };
Foo2 *f2 = &&(Foo2) { .expand = 2, .widget = &f };
Foo3 *f3 = &&(Foo3) { .expand = 2, .a = true, .b = true, .widget = &f };
Foo4 *f4 = &&(Foo4) { .expand = 2, .a = true, .b = true, .widget = &f };
}
/* #expect: testing.ll