Sign in
dawn
/
tint
/
8ec32a6ec99a3989a3af344e01a2d9ffd8f4f197
/
.
/
test
/
statements
/
switch
/
only_default_case.wgsl.expected.msl
blob: c74e332e4c77658baa7207b70c8ac62b9c99b0a5 [
file
] [
log
] [
blame
]
#include
<metal_stdlib>
using
namespace
metal
;
kernel
void
f
()
{
int
i
=
0
;
int
result
=
0
;
switch
(
i
)
{
default
:
{
result
=
44
;
break
;
}
}
return
;
}