Sign in
dawn
/
dawn
/
3c4fddf3e3a23242dce031881fa319d01462e545
/
.
/
test
/
tint
/
statements
/
for
/
continuing
/
struct_ctor.wgsl.expected.msl
blob: 353f1ff31989b9a4f9b9574ab6ad1df7de876691 [
file
] [
log
] [
blame
]
#include
<metal_stdlib>
using
namespace
metal
;
struct
S
{
int
i
;
};
void
f
()
{
{
int
i
=
0
;
while
(
true
)
{
if
(
true
)
{
break
;
}
{
}
{
S
const
tint_symbol
=
S
{.
i
=
1
};
i
=
as_type
<int>
((
as_type
<uint>
(
i
)
+
as_type
<uint>
(
tint_symbol
.
i
)));
}
}
}
}