Dragos Sbirlea | 980d16b | 2013-06-04 15:01:40 -0700 | [diff] [blame] | 1 | This test relies on the correct behavior of instance-of to test check-cast behavior, |
2 | as shown below: | ||||
3 | |||||
4 | |||||
5 | CCE throw| InstanceOf | Correct? | ||||
6 | ---------+------------+---------- | ||||
7 | 1 | 0 | OK | ||||
8 | 1 | 1 | BAD | ||||
9 | 0 | 0 | BAD | ||||
10 | 0 | 1 | OK |