dawn-cmake/test/statements/switch/fallthrough.wgsl.expected.msl

17 lines
188 B
Plaintext

#include <metal_stdlib>
using namespace metal;
kernel void f() {
int i = 0;
switch(i) {
case 0: {
/* fallthrough */
}
default: {
break;
}
}
return;
}