2022-01-06 21:32:41 +00:00
|
|
|
#include <metal_stdlib>
|
|
|
|
|
|
|
|
using namespace metal;
|
|
|
|
struct S {
|
|
|
|
int i;
|
|
|
|
};
|
|
|
|
|
|
|
|
void f() {
|
|
|
|
{
|
|
|
|
int i = 0;
|
|
|
|
while (true) {
|
2022-01-14 17:16:32 +00:00
|
|
|
if (!(false)) {
|
|
|
|
break;
|
|
|
|
}
|
2022-02-02 14:33:32 +00:00
|
|
|
{
|
|
|
|
}
|
2022-01-06 21:32:41 +00:00
|
|
|
{
|
2022-08-11 02:28:01 +00:00
|
|
|
S const tint_symbol = S{.i=1};
|
2022-01-06 21:32:41 +00:00
|
|
|
i = as_type<int>((as_type<uint>(i) + as_type<uint>(tint_symbol.i)));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|