mirror of
https://github.com/gcc-mirror/gcc.git
synced 2026-05-06 23:25:24 +02:00
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);
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|