err14.java: New file.

2004-08-10  Andrew Haley  <aph@redhat.com>

	* testsuite/libjava.lang/err14.java: New file.
	* testsuite/libjava.lang/err14.out: New file.

From-SVN: r85752
This commit is contained in:
Andrew Haley 2004-08-10 14:21:05 +00:00
parent a57bb5f6a5
commit 50ab464c2e
2 changed files with 22 additions and 0 deletions

View file

@ -0,0 +1,20 @@
/* Check for incorrectly aligned byte args. */
public class err14
{
protected final String getClearToolCommand(Object a, Object b,
Object c, Object d,
int e, int f, boolean x)
{
return x ? "hi" : "byte";
}
public static void main(String[] args)
{
System.out.println(new err14().getClearToolCommand(null, null,
null, null, 0, 0, false));
System.out.println(new err14().getClearToolCommand(null, null,
null, null, 0, 0, true));
}
}

View file

@ -0,0 +1,2 @@
byte
hi