Sign in
dawn
/
dawn
/
7ab964aa333f50c5f0d7b4c60d7f17637825e247
/
.
/
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
;
}