repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
* sreal.h (sreal::shift): Fix sanity check.
[official-gcc.git]
/
libjava
/
testsuite
/
libjava.lang
/
EvaluationOrder.java
blob
7c09bbb9cb9369435d18087b733433c953fa756c
1
public class
EvaluationOrder
2
{
3
private static int
first
(
int
x
,
int
y
)
4
{
5
return
x
;
6
}
7
8
public static void
main
(
String
[]
args
)
9
{
10
int
l
=
args
.
length
;
11
12
/* This should print:
13
0
14
0
15
1
16
*/
17
System
.
out
.
println
(
l
);
18
System
.
out
.
println
(
first
(
l
, ++
l
));
19
System
.
out
.
println
(
l
);
20
}
21
}
22