Indentations break the feed.
[SquirrelJME.git] / modules / cldc-compact / src / test / resources / lang / bytecode / TestArrayLengthNPE.j
blobc0f5ff71b98428dc11e013675ef8553375a4a79e
1 ; -*- Mode: Jasmin; indent-tabs-mode: t; tab-width: 4 -*-
2 ; ---------------------------------------------------------------------------
3 ; SquirrelJME
4 ; Copyright (C) Stephanie Gawroriski <xer@multiphasicapps.net>
5 ; ---------------------------------------------------------------------------
6 ; SquirrelJME is under the Mozilla Public License Version 2.0.
7 ; See license.mkd for licensing and copyright information.
8 ; ---------------------------------------------------------------------------
10 .class public lang/bytecode/TestArrayLengthNPE
11 .super net/multiphasicapps/tac/TestInteger
13 .method public <init>()V
14 aload 0
15 invokenonvirtual net/multiphasicapps/tac/TestInteger/<init>()V
16 return
17 .end method
19 .method public test()I
20 .limit stack 4
21 ; Create array
22 invokestatic lang/bytecode/ByteCodeUtil/nullStringArray()[Ljava/lang/String;
24 ; Return the length
25 arraylength
26 ireturn
27 .end method