Merged with tip.
[cacao.git] / tests / regression / jasmin / test_verify_fail_local_index.j
1 .class public test_verify_fail_local_index
2 .super java/lang/Object
3
4 ; ======================================================================
5
6 .method public <init>()V
7    aload_0
8    invokenonvirtual java/lang/Object/<init>()V
9    return
10 .end method
11
12 ; ======================================================================
13
14 .method public static main([Ljava/lang/String;)V
15         .limit stack 2
16         .limit locals 2
17
18         ldc 42
19         istore 1
20
21         aload 0
22         ifnull force_basic_block_boundary
23
24         ; --------------------------------------------------
25
26         ldc 1234
27         istore 2
28         ; ERROR: VerifyError
29
30         ; --------------------------------------------------
31
32 force_basic_block_boundary:
33
34         return
35 .end method