Invalid flags in a RegExp literal should be an early SyntaxError
[WebKit-https.git] / JSTests / stress / deeply-nested-finallys.js
1 // This test should finish almost instantly.
2
3 function exp() {
4     try {
5         try {
6             try {
7                 try { 
8                     try {
9                         try {
10                             try {
11                                 try {
12                                     try {
13                                         try {
14                                             try {
15                                                 try {
16                                                     try { 
17                                                         try {
18                                                             try {
19                                                                 try {
20                                                                     try {
21                                                                         try {
22                                                                             try {
23                                                                                 try {
24                                                                                     try {
25                                                                                         try { 
26                                                                                             try {
27                                                                                                 try {
28                                                                                                     try {
29                                                                                                         try {
30                                                                                                             try {
31                                                                                                                 try {
32                                                                                                                     try {
33                                                                                                                         try {
34                                                                                                                             try { 
35                                                                                                                                 try {
36                                                                                                                                     try {
37                                                                                                                                         try {
38                                                                                                                                             try {
39                                                                                                                                                 try {
40                                                                                                                                                 } finally {return 1;}
41                                                                                                                                             } finally { return 1; }
42                                                                                                                                         } finally {return 1;}
43                                                                                                                                     } finally { return 1; }
44                                                                                                                                 } finally {return 1;}
45                                                                                                                             } finally {return 1;}
46                                                                                                                         } finally {return 1;}
47                                                                                                                     } finally {return 1;}    
48                                                                                                                 } finally { return 1; }
49                                                                                                             } finally {return 1;}
50                                                                                                         } finally { return 1; }
51                                                                                                     } finally {return 1;}
52                                                                                                 } finally { return 1; }
53                                                                                             } finally {return 1;}
54                                                                                         } finally {return 1;}
55                                                                                     } finally {return 1;}
56                                                                                 } finally {return 1;}    
57                                                                             } finally { return 1; }
58                                                                         } finally {return 1;}
59                                                                     } finally { return 1; }
60                                                                 } finally {return 1;}
61                                                             } finally { return 1; }
62                                                         } finally {return 1;}
63                                                     } finally {return 1;}
64                                                 } finally {return 1;}
65                                             } finally {return 1;}    
66                                         } finally { return 1; }
67                                     } finally {return 1;}
68                                 } finally { return 1; }
69                             } finally {return 1;}
70                         } finally { return 1; }
71                     } finally {return 1;}
72                 } finally {return 1;}
73             } finally {return 1;}
74         } finally {return 1;}    
75     } finally { return 1; }
76 }
77
78 exp();