blob: 848e21b5d8eb791cc1a2263e864a929422658502 [file] [log] [blame]
#include <metal_stdlib>
using namespace metal;
#define TINT_ISOLATE_UB(VOLATILE_NAME) \
volatile bool VOLATILE_NAME = true; \
if (VOLATILE_NAME)
struct S {
int i;
};
void f() {
int i = 0;
TINT_ISOLATE_UB(tint_volatile_true) for(; (i < 1); ) {
}
}