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

13 lines
173 B
Plaintext
Raw Normal View History

#include <metal_stdlib>
using namespace metal;
struct S {
int i;
};
void f() {
for(int i = 0; false; i = as_type<int>((as_type<uint>(i) + as_type<uint>(1)))) {
}
}