1 /*
2 * Copyright 2019 by its authors. See AUTHORS.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16 #ifdef HAVE_CONFIG_H
17 # include <config.h>
18 #endif
19
20 #include <Eo.h>
21 #include <Ecore.h>
22
23 #include <simple.eo.hh>
24
25 #include "eolian_cxx_suite.h"
26
27 // struct bar
28 // : efl::eo::inherit<bar, nonamespace::Simple>
29 // {
30 // bar()
31 // : inherit_base(efl::eo::parent = nullptr)
32 // {}
33
34 // bool simple_get()
35 // {
36 // printf("calling bar::%s\n", __func__);
37 // return false;
38 // }
39 // };
40
41 // void foo(nonamespace::Simple is)
42 // {
43 // fail_if(is.simple_get());
44 // }
45
46 // START_TEST(eolian_cxx_test_inheritance_simple)
47 // {
48 // efl::eo::eo_init i;
49 // bar b;
50 // foo(b);
51 // }
52 // END_TEST
53
54 void
eolian_cxx_test_inheritance(TCase *)55 eolian_cxx_test_inheritance(TCase* /*tc*/)
56 {
57 // tcase_add_test(tc, eolian_cxx_test_inheritance_simple);
58 }
59