2
0
Mark Sibly 9 жил өмнө
parent
commit
c6e2c743c0

+ 2 - 0
tests/monkey/externs.h

@@ -35,6 +35,8 @@ namespace test{
 			static inline void F(){}
 		};
 	};
+	
+	inline void C_M2( C *c,int x,int y ){}
 
 }
 

+ 4 - 0
tests/monkey/externs.monkey2

@@ -34,6 +34,8 @@ Class C Extends Void="test::C"
 	
 	Method M()
 	
+	Method M2( x:Int,y:Int ) Extension="test::C_M2"
+	
 	Function F()
 End
 
@@ -51,6 +53,8 @@ Function Main()
 	C.F()
 	C.D.F()
 	
+	c.M2( 10,20 )
+	
 	Local v1:=E.V1
 	Local v2:=E.V2