mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-24 13:19:52 +08:00
19 lines
365 B
Java
19 lines
365 B
Java
|
// Test to make sure overloaded functions with long names work.
|
||
|
|
||
|
public class overload
|
||
|
{
|
||
|
static
|
||
|
{
|
||
|
System.loadLibrary ("overload");
|
||
|
}
|
||
|
|
||
|
public static native int over (int one);
|
||
|
public static native int over (int one, int two);
|
||
|
|
||
|
public static void main (String[] args)
|
||
|
{
|
||
|
System.out.println (over (1));
|
||
|
System.out.println (over (1, 2));
|
||
|
}
|
||
|
}
|