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