Merge: doc: fixed some typos and other misc. corrections
[nit.git] / tests / test_ffi_c_types_import.nit
1 import test_ffi_c_types
2
3 fun foo( b : B ) : A `{
4 printf( "%d %d\n", b->super.x, b->w );
5 return (struct s_a*)b;
6 `}
7
8 foo( new B ).p