projects
/
gcc.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
2007-02-13 Andrew Haley <aph@redhat.com>
[gcc.git]
/
libjava
/
testsuite
/
libjava.jni
/
simple_int.java
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
}