Sign in
dawn
/
dawn
/
563fe25db020e87742d09b0a11db3ec423fa5285
/
.
/
test
/
tint
/
expressions
/
literals
/
intmin.wgsl.expected.ir.msl
blob: fc97589f05677202f5f68fdb6b864854c57e44cc [
file
] [
log
] [
blame
]
#include
<metal_stdlib>
using
namespace
metal
;
int
add_int_min_explicit
()
{
int
a
=
(-
2147483647
-
1
);
int
b
=
(
a
+
1
);
int
c
=
-
2147483647
;
return
c
;
}