dawn-cmake/test/statements/for/condition/struct_ctor.wgsl.expected.msl

20 lines
219 B
Plaintext

#include <metal_stdlib>
using namespace metal;
struct S {
int i;
};
void f() {
int i = 0;
while (true) {
S const tint_symbol = {.i=1};
if (!((i < tint_symbol.i))) {
break;
}
{
}
}
}