1.1 --- a/vm/src/test/java/org/apidesign/vm4brwsr/InstanceTest.java Tue Dec 04 09:16:53 2012 +0100
1.2 +++ b/vm/src/test/java/org/apidesign/vm4brwsr/InstanceTest.java Mon Jan 14 10:57:51 2013 +0100
1.3 @@ -131,6 +131,14 @@
1.4 Double.valueOf(1)
1.5 );
1.6 }
1.7 +
1.8 + @Test public void jsCallingConvention() throws Exception {
1.9 + assertExec(
1.10 + "Pointer to 'this' is passed automatically (and not as a first argument)",
1.11 + Instance.class, "jscall__I",
1.12 + Double.valueOf(31)
1.13 + );
1.14 + }
1.15
1.16 protected String startCompilationWith() {
1.17 return "org/apidesign/vm4brwsr/Instance";