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
2015-01-14 Richard Biener <rguenther@suse.de>
[official-gcc.git]
/
libjava
/
testsuite
/
libjava.lang
/
PR6729.java
blob
58dac182d2f31b277685b38bc52b61805f48cc74
1
public class
PR6729
2
{
3
static int
attr
=
0x9
;
4
5
public static void
main
(
String
[]
args
) {
6
boolean
res
= ( (
1
<<
attr
) &
0x1000
) !=
0
;
7
System
.
out
.
println
(
"this should be "
+
res
+
": "
+
isWhite
());
8
}
9
10
public static boolean
isWhite
() {
11
return
( (
1
<<
attr
) &
0x1000
) !=
0
;
12
}
13
}