summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/jaeger/inline/bug680759.js
blob: 975f9e3b76a336810cef2a6f963d7e28a8de408f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14

TryToCatch();
TryToCatch();
function Thrower( v ) {
  throw "Caught";
}
function Eval( v ) { 
	SECTION : Thrower(TryToCatch, v, ': 3')
}
function TryToCatch( value, expect ) {
  try {
    Eval( value )
  } catch (e) {  }
}