update NOTICE and LICENSE
[nit.git] / tests / base_no_object.nit
1 import end
2
3 class Int
4 fun output is intern
5 end
6
7 class A
8 fun foo do 1.output
9 end
10
11 var a = new A
12 a.foo
13 #alt1# if a is a then 2.output