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