nitlanguage
/
nit.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
tests: fix tests for model visitor
[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