blob: a915cc8d1070cf74e7ec6d07332211aa8e8422f3 [file] [log] [blame]
#include <metal_stdlib>
using namespace metal;
kernel void f0() {
int const a = 2147483647;
int const b = 1;
int const c = as_type<int>((as_type<uint>(a) + as_type<uint>(1)));
return;
}
void f1() {
int const a = 1;
int const b = as_type<int>((as_type<uint>((-2147483647 - 1)) - as_type<uint>(a)));
}