tests: adds native interface tests
[nit.git] / tests / test_ni_cast_extra.nit.h
1 /* This file is part of NIT ( http://www.nitlanguage.org ).
2 *
3 * Copyright 2011 Alexis Laferrière <alexis.laf@xymus.net>
4 *
5 * This file is free software, which comes along with NIT. This software is
6 * distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
7 * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
8 * PARTICULAR PURPOSE. You can modify it is you want, provided this header
9 * is kept unaltered, and a notification of the changes is added.
10 * You are allowed to redistribute it and sell it, alone or is a part of
11 * another product.
12 */
13
14 #ifndef test_ni_cast_extra_IMPL_NIT_H
15 #define test_ni_cast_extra_IMPL_NIT_H
16
17 #include <test_ni_cast_extra._nitni.h>
18
19 int A_isa_b___impl( A recv );
20 nullable_B A_as_b___impl( A recv );
21 int C_isa_a___impl( C recv );
22 A D_as_a___impl( D recv );
23
24 #endif