blob: eb8f15619b5fdc86593462158f7ca95e1a19ba28 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
// |jit-test| skip-if: !('oomTest' in this)
loadFile(`
function SwitchTest(){
switch(value) {
case 0:break
case isNaN: break
}
}
SwitchTest();
`)
function loadFile(lfVarx) {
oomTest(function() { return eval(lfVarx); })
}
|