blob: 4ef82fb249ed988c54feb8c5903d21c13219334a [file] [log] [blame]
// Binary: cache/js-dbg-64-921e1db5cf11-linux
// Flags: -m -n -a
//
function addThis() {}
function Integer( value ) {
try {
checkValue( value )
} catch (e) { }
}
function checkValue( value ) {
if ( addThis() != value || value )
throw value='foo';
return value;
}
Integer( 3 );
Integer( NaN );