OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
PR libgcj/12656:
[pf3gnuchains/gcc-fork.git]
/
libjava
/
testsuite
/
libjava.lang
/
PR6729.java
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
}