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.jni
/
simple_int.java
blob
6306c4e9335ae27be3e70166dca3e997e7eedb54
1
// Test a simple static function with an `int' argument.
2
3
public class
simple_int
4
{
5
public static native int
nat
(
int
z
);
6
7
static
8
{
9
System
.
loadLibrary
(
"simple_int"
);
10
}
11
12
public static void
main
(
String
[]
args
)
13
{
14
System
.
out
.
println
(
nat
(
23
));
15
}
16
}