Sign in
dawn
/
tint
/
8bbdda7e89dd93809ade254ff7220c035c509f5c
/
.
/
test
/
statements
/
for
/
initializer
/
array_ctor.wgsl.expected.msl
blob: aa3d065342f5e0d537bb547dc57b3991014735a8 [
file
] [
log
] [
blame
]
#include
<metal_stdlib>
using
namespace
metal
;
struct
tint_array_wrapper
{
int
arr
[
1
];
};
void
f
()
{
tint_array_wrapper
const
tint_symbol
=
{.
arr
={
1
}};
for
(
int
i
=
tint_symbol
.
arr
[
0
];
false
;
)
{
}
}