mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
Update tests to (Foo) { ... } syntax.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user