| 1 |
// test static non-function members |
| 2 |
Math.PI; |
| 3 |
|
| 4 |
// test for stack overflow |
| 5 |
repeat(1000000) Math.PI; |
| 6 |
|
| 7 |
class Foo |
| 8 |
{ |
| 9 |
static int bar; |
| 10 |
} |
| 11 |
|
| 12 |
// test for stack overflow |
| 13 |
repeat(1000000) Foo.bar; |
| 14 |
|
| 15 |
// if we get here, ok |
| 16 |
<<< "success" >>>; |