* src/native/jni.cpp: [OPENJDK] Implemented jni_GetDirectBufferCapacity.
[cacao.git] / tests / regression / jasmin / test_verify_fail_split_local.j
1 .class public test_verify_fail_split_local
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 check(J)V
15         .limit locals 2
16         .limit stack 10
17         getstatic java/lang/System/out Ljava/io/PrintStream;
18         lload_0
19         invokevirtual java/io/PrintStream/println(J)V
20         return
21 .end method
22
23 ; ======================================================================
24
25 .method public static main([Ljava/lang/String;)V
26         .limit stack 2
27         .limit locals 3
28
29         ldc2_w 123456789
30         lstore 1
31
32         aload 0
33         ifnull force_basic_block_boundary
34
35         ; --------------------------------------------------
36
37         ldc 42
38         istore 2
39
40         ; --------------------------------------------------
41
42 force_basic_block_boundary:
43
44         lload 1
45         ; ERROR: VerifyError
46         invokestatic test_verify_fail_split_local/check(J)V
47
48         return
49 .end method