summaryrefslogtreecommitdiff
path: root/src/tests/eo/access/access_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/eo/access/access_main.c')
-rw-r--r--src/tests/eo/access/access_main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tests/eo/access/access_main.c b/src/tests/eo/access/access_main.c
index 61cd381..d8d825b 100644
--- a/src/tests/eo/access/access_main.c
+++ b/src/tests/eo/access/access_main.c
@@ -15,7 +15,8 @@ main(int argc, char *argv[])
15 15
16 Eo *obj = eo_add(INHERIT_CLASS, NULL); 16 Eo *obj = eo_add(INHERIT_CLASS, NULL);
17 17
18 eo_do(obj, simple_a_set(1), inherit_prot_print()); 18 simple_a_set(obj, 1);
19 inherit_prot_print(obj);
19 20
20 Simple_Public_Data *pd = eo_data_scope_get(obj, SIMPLE_CLASS); 21 Simple_Public_Data *pd = eo_data_scope_get(obj, SIMPLE_CLASS);
21 printf("Pub: %d\n", pd->public_x2); 22 printf("Pub: %d\n", pd->public_x2);