Sign in
dawn
/
tint
/
b4cd255c6ecc8db6d49274b8de378b33c478c629
/
.
/
test
/
statements
/
for
/
condition
/
array_ctor.wgsl.expected.msl
blob: 2ec1a687f3083218c72d8d7f2b6cb03a13169d1f [
file
] [
log
] [
blame
]
#include
<metal_stdlib>
using
namespace
metal
;
struct
tint_array_wrapper
{
int
arr
[
1
];
};
void
f
()
{
int
i
=
0
;
while
(
true
)
{
tint_array_wrapper
const
tint_symbol
=
{.
arr
={
1
}};
if
(!((
i
<
tint_symbol
.
arr
[
0
])))
{
break
;
}
}
}