mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-19 09:09:02 +08:00
1457a0b52a
* libjava.lang/PR6820.java: New file. * libjava.lang/PR6820.out: New file. From-SVN: r53908
16 lines
226 B
Java
16 lines
226 B
Java
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);
|
|
}
|
|
}
|
|
|