summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/bigint/bug1849099.js
blob: f61a9bfb735350b06fc21aa38ac6cde3703ae749 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// |jit-test| --fast-warmup; --no-threads

function foo(a,b) {
  a >> a
  b ^ b
}

with ({}) {}
for (var i = 0; i < 100; i++) {
  foo(10n, -1n);
  try {
    foo(-2147483648n);
  } catch {}
}