Sign in
dawn
/
tint
/
6bdbc4a6dfdc95a9479e4ebccc9f4c02e614fdb1
/
.
/
test
/
tint
/
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
;
)
{
}
}