Add test for emptyMethod()

This commit is contained in:
Volker 2018-09-28 18:41:10 +02:00
parent d9fcca86d0
commit 10dcbd66b0

View File

@ -54,6 +54,7 @@ public class CallFunctions extends AbstractBaseTest {
static int intCall() { static int intCall() {
intConst(); intConst();
doubleConst(); doubleConst();
emptyMethod();
return abc( 4,5) + intConst() * 100; return abc( 4,5) + intConst() * 100;
} }
@ -65,6 +66,10 @@ public class CallFunctions extends AbstractBaseTest {
return 3.5; return 3.5;
} }
static void emptyMethod() {
}
@Import( module = "global.Math", name = "max" ) @Import( module = "global.Math", name = "max" )
static int abc( int a, int b) { static int abc( int a, int b) {
return Math.max( a, b ); return Math.max( a, b );