diff --git a/libjava/testsuite/ChangeLog b/libjava/testsuite/ChangeLog index 5aad266057b3..86c128919f34 100644 --- a/libjava/testsuite/ChangeLog +++ b/libjava/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2002-05-27 Bryce McKinlay + + * libjava.lang/PR6820.java: New file. + * libjava.lang/PR6820.out: New file. + 2002-05-23 Bryce McKinlay * libjava.lang/PR6729.java: New file. diff --git a/libjava/testsuite/libjava.lang/PR6820.java b/libjava/testsuite/libjava.lang/PR6820.java new file mode 100644 index 000000000000..c505eb2f0a52 --- /dev/null +++ b/libjava/testsuite/libjava.lang/PR6820.java @@ -0,0 +1,15 @@ +public class PR6820 +{ + static void m(int a, int b) { + System.out.println("a="+a+" b="+b); + } + + static int a = 10; + + public static void main(String[] args) { + int b = 10; + m(a,++a); + m(b,++b); + } +} + diff --git a/libjava/testsuite/libjava.lang/PR6820.out b/libjava/testsuite/libjava.lang/PR6820.out new file mode 100644 index 000000000000..836bd5c2836d --- /dev/null +++ b/libjava/testsuite/libjava.lang/PR6820.out @@ -0,0 +1,2 @@ +a=10 b=11 +a=10 b=11