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
2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git]
/
libjava
/
testsuite
/
libjava.lang
/
PR3731.java
blob
8e974ccca8abe6ea414a61141fc440c8c2039a9b
1
// Check whether "instanceof" initializes its class argument.
2
3
public class
PR3731
{
4
static
B b
;
5
public static void
main
(
String
[]
args
) {
6
System
.
out
.
println
(
b
instanceof
B
);
7
}
8
}
9
10
class
B
{
11
static
{
12
System
.
out
.
println
(
"Initialized"
);
13
}
14
}