tools: move run_global_phases/process_mainmodule into modelbuilder
[nit.git] / tests / test_ffi_c_more.nit
index 51d2a6b..e795227 100644 (file)
@@ -38,8 +38,8 @@ extern A
 
        fun m : Int is extern `{ return 10; `}
 
-       fun n : String is extern import String::from_cstring `{
-               return new_String_from_cstring( "allo" );
+       fun n : String is extern import NativeString::to_s `{
+               return NativeString_to_s( "allo" );
        `}
 
        fun o ( str : String ) is extern import String::to_cstring `{
@@ -63,18 +63,18 @@ extern A
 end
 
 extern B
-special A
+super A
 end
 
 extern C `{int*`}
 end
 
 extern D
-special C
+super C
 end
 
 extern E
-special C
+super C
 end
 
 var a = new A