misc/vim: inform the user when no results are found
[nit.git] / tests / test_ffi_c_callback_extern_receiver.nit
index 1e1e0c5..3fe526c 100644 (file)
@@ -22,14 +22,14 @@ module test_ffi_c_callback_extern_receiver
 #include <stdio.h>
 `}
 
-extern Test
+extern class Test
     new create_me is extern `{
         int* foobar = malloc(sizeof(int));
         *foobar = 12345;
         return foobar;
     `}
 
-    fun test_me is extern import Test::foo, NativeString::to_s `{
+    fun test_me is extern import Test.foo, NativeString.to_s `{
         int i;
         for(i = 0; i < 2000; ++i) {
             printf("%d\n", i);