summaryrefslogtreecommitdiff
path: root/src/tests/eolian/eolian_parsing.c
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@osg.samsung.com>2016-06-07 14:59:36 +0100
committerDaniel Kolesa <d.kolesa@osg.samsung.com>2016-06-07 15:26:09 +0100
commit1637c21a768ee5a914236d4979a700c3be007295 (patch)
tree162e02c31d6bab80a1b114575bf81ed73af43494 /src/tests/eolian/eolian_parsing.c
parent96f6ca336d92ed7d564664e2e84e44f6a5a156c5 (diff)
eolian: support @ref on returns
This adds basic support for @ref on return types.
Diffstat (limited to '')
-rw-r--r--src/tests/eolian/eolian_parsing.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tests/eolian/eolian_parsing.c b/src/tests/eolian/eolian_parsing.c
index 66f4b87197..86ff77f151 100644
--- a/src/tests/eolian/eolian_parsing.c
+++ b/src/tests/eolian/eolian_parsing.c
@@ -606,6 +606,7 @@ START_TEST(eolian_simple_parsing)
606 /* Method */ 606 /* Method */
607 fail_if(!(fid = eolian_class_function_get_by_name(class, "foo", EOLIAN_METHOD))); 607 fail_if(!(fid = eolian_class_function_get_by_name(class, "foo", EOLIAN_METHOD)));
608 fail_if(!eolian_function_is_beta(fid)); 608 fail_if(!eolian_function_is_beta(fid));
609 fail_if(eolian_function_return_is_ref(fid, EOLIAN_METHOD));
609 /* Function return */ 610 /* Function return */
610 tp = eolian_function_return_type_get(fid, EOLIAN_METHOD); 611 tp = eolian_function_return_type_get(fid, EOLIAN_METHOD);
611 fail_if(!tp); 612 fail_if(!tp);
@@ -651,6 +652,7 @@ START_TEST(eolian_simple_parsing)
651 fail_if(!eolian_function_is_legacy_only(fid, EOLIAN_METHOD)); 652 fail_if(!eolian_function_is_legacy_only(fid, EOLIAN_METHOD));
652 fail_if(!eolian_function_is_c_only(fid)); 653 fail_if(!eolian_function_is_c_only(fid));
653 fail_if(eolian_function_is_beta(fid)); 654 fail_if(eolian_function_is_beta(fid));
655 fail_if(!eolian_function_return_is_ref(fid, EOLIAN_METHOD));
654 656
655 eolian_shutdown(); 657 eolian_shutdown();
656} 658}