summaryrefslogtreecommitdiff
path: root/legacy/eobj/src/tests/mixin/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'legacy/eobj/src/tests/mixin/main.c')
-rw-r--r--legacy/eobj/src/tests/mixin/main.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/legacy/eobj/src/tests/mixin/main.c b/legacy/eobj/src/tests/mixin/main.c
index b7109a108d..c69754da78 100644
--- a/legacy/eobj/src/tests/mixin/main.c
+++ b/legacy/eobj/src/tests/mixin/main.c
@@ -1,5 +1,6 @@
1#include "Eo.h" 1#include "Eo.h"
2#include "simple.h" 2#include "simple.h"
3#include "inherit.h"
3#include "mixin.h" 4#include "mixin.h"
4#include "mixin2.h" 5#include "mixin2.h"
5#include "mixin3.h" 6#include "mixin3.h"
@@ -30,6 +31,12 @@ main(int argc, char *argv[])
30 fail_if(pd3->count != 9); 31 fail_if(pd3->count != 9);
31 32
32 eo_unref(obj); 33 eo_unref(obj);
34
35 obj = eo_add(INHERIT_CLASS, NULL);
36 eo_do(obj, simple_a_set(5), simple_a_get(&a));
37 fail_if(a != 5);
38
39 eo_unref(obj);
33 eo_shutdown(); 40 eo_shutdown();
34 return 0; 41 return 0;
35} 42}