1// Illegal to assign to type "varying struct Bar" in type "varying struct Foo" due to element "a" with type "const varying int32"
2
3struct Bar {
4 const int a;
5};
6
7struct Foo {
8 struct Bar b;
9};
10
11void foo(Foo f) {
12 Foo g;
13 g = f;
14}
15