blob: dce5a1febf271d5d4e0b88733454396960ffc26b [file] [log] [blame]
int tint_div(int lhs, int rhs) {
return (lhs / (((rhs == 0) | ((lhs == -2147483648) & (rhs == -1))) ? 1 : rhs));
}
[numthreads(1, 1, 1)]
void f() {
int a = 1;
int b = 0;
int c = tint_div(a, b);
return;
}