From 50ab464c2e591ceb4b8f83cd3615414fa7c7010c Mon Sep 17 00:00:00 2001 From: Andrew Haley Date: Tue, 10 Aug 2004 14:21:05 +0000 Subject: [PATCH] err14.java: New file. 2004-08-10 Andrew Haley * testsuite/libjava.lang/err14.java: New file. * testsuite/libjava.lang/err14.out: New file. From-SVN: r85752 --- libjava/testsuite/libjava.lang/err14.java | 20 ++++++++++++++++++++ libjava/testsuite/libjava.lang/err14.out | 2 ++ 2 files changed, 22 insertions(+) create mode 100644 libjava/testsuite/libjava.lang/err14.java create mode 100644 libjava/testsuite/libjava.lang/err14.out diff --git a/libjava/testsuite/libjava.lang/err14.java b/libjava/testsuite/libjava.lang/err14.java new file mode 100644 index 00000000000..a8ee40c2016 --- /dev/null +++ b/libjava/testsuite/libjava.lang/err14.java @@ -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)); + } +} diff --git a/libjava/testsuite/libjava.lang/err14.out b/libjava/testsuite/libjava.lang/err14.out new file mode 100644 index 00000000000..c361ac256c2 --- /dev/null +++ b/libjava/testsuite/libjava.lang/err14.out @@ -0,0 +1,2 @@ +byte +hi -- 2.30.2