diff options
-rw-r--r-- | libjava/testsuite/libjava.lang/err14.java | 20 | ||||
-rw-r--r-- | libjava/testsuite/libjava.lang/err14.out | 2 |
2 files changed, 22 insertions, 0 deletions
diff --git a/libjava/testsuite/libjava.lang/err14.java b/libjava/testsuite/libjava.lang/err14.java new file mode 100644 index 0000000..a8ee40c --- /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 0000000..c361ac2 --- /dev/null +++ b/libjava/testsuite/libjava.lang/err14.out @@ -0,0 +1,2 @@ +byte +hi |