summaryrefslogtreecommitdiff
path: root/src/tests
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@samsung.com>2019-09-17 12:36:13 +0200
committerDaniel Kolesa <d.kolesa@samsung.com>2019-09-17 12:36:50 +0200
commit81441638dbff9f5e0c15a54d8142cdbd21582ce1 (patch)
treea70d6802cc4b17c71478af951d5628f9f60215ed /src/tests
parentf87ba12a764afdd757d1a4e8e322aaf7c500e765 (diff)
eolian: enable unimplemented function errors for stable API
Diffstat (limited to 'src/tests')
-rw-r--r--src/tests/eolian/data/object_impl_add.eo4
-rw-r--r--src/tests/eolian/data/object_impl_add_ref.c6
-rw-r--r--src/tests/eolian/data/parts.eo4
3 files changed, 14 insertions, 0 deletions
diff --git a/src/tests/eolian/data/object_impl_add.eo b/src/tests/eolian/data/object_impl_add.eo
index 14888b2c4f..c1e82e2365 100644
--- a/src/tests/eolian/data/object_impl_add.eo
+++ b/src/tests/eolian/data/object_impl_add.eo
@@ -13,4 +13,8 @@ class Object_Impl_Add extends Base {
13 } 13 }
14 } 14 }
15 } 15 }
16
17 implements {
18 Base.constructor;
19 }
16} 20}
diff --git a/src/tests/eolian/data/object_impl_add_ref.c b/src/tests/eolian/data/object_impl_add_ref.c
index 1ccb10236d..f6b8fa5927 100644
--- a/src/tests/eolian/data/object_impl_add_ref.c
+++ b/src/tests/eolian/data/object_impl_add_ref.c
@@ -87,4 +87,10 @@ _object_impl_add_c_get(const Eo *obj, Object_Impl_Data *pd)
87 87
88} 88}
89 89
90EOLIAN static void
91_object_impl_add_base_constructor(Eo *obj, Object_Impl_Data *pd)
92{
93
94}
95
90#include "object_impl_add.eo.c" 96#include "object_impl_add.eo.c"
diff --git a/src/tests/eolian/data/parts.eo b/src/tests/eolian/data/parts.eo
index 7f925afbac..26897e152d 100644
--- a/src/tests/eolian/data/parts.eo
+++ b/src/tests/eolian/data/parts.eo
@@ -3,4 +3,8 @@ class Parts extends Override {
3 part1: Override; [[Part 1]] 3 part1: Override; [[Part 1]]
4 part2 @beta: Parts; [[Part 2]] 4 part2 @beta: Parts; [[Part 2]]
5 } 5 }
6 implements {
7 Override.a { set; }
8 Override.foo;
9 }
6} 10}