nitlanguage
/
nit.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
a923579c72cb50e962548dadc7a8383c7fe77590
[nit.git]
/
doc
/
developpez
/
poo
/
listings
/
coercition1_c.nit
1
class
Animal
2
end
3
4
class
Vache
5
special
Animal
6
7
fun
broute
8
do
9
print
"La vache broute..."
10
end
11
end
12
13
var
x
:
Animal
=
new
Vache
14
x
.
as
(
Vache
).
broute