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

14 lines
162 B
Plaintext
Raw Normal View History

#include <metal_stdlib>
using namespace metal;
struct S {
int i;
};
void f() {
S const tint_symbol = {.i=1};
for(int i = tint_symbol.i; false; ) {
}
}