aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests
diff options
context:
space:
mode:
authorFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2017-09-28 17:48:04 -0300
committerFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2017-09-28 17:50:14 -0300
commit96d3af10bf199c4a8f563503a663a0890fa1ec84 (patch)
tree499ad99c808fa70952f711863d1937cbc4c9bb76 /src/tests
parentci: disable examples build for osx for now (diff)
downloadefl-96d3af10bf199c4a8f563503a663a0890fa1ec84.tar.gz
eolian-cxx: Add optional parameter to lambda for unnamed proxy instantiation
Diffstat (limited to 'src/tests')
-rw-r--r--src/tests/eolian_cxx/eolian_cxx_test_binding.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/tests/eolian_cxx/eolian_cxx_test_binding.cc b/src/tests/eolian_cxx/eolian_cxx_test_binding.cc
index 90f880e319..ead856268d 100644
--- a/src/tests/eolian_cxx/eolian_cxx_test_binding.cc
+++ b/src/tests/eolian_cxx/eolian_cxx_test_binding.cc
@@ -66,7 +66,11 @@ START_TEST(eolian_cxx_test_type_generation)
{
efl::eo::eo_init eo_init;
- name1::name2::Type_Generation g(efl::eo::instantiate);
+ name1::name2::Type_Generation g1(efl::eo::instantiate);
+ name1::name2::Type_Generation g2(efl::eo::instantiate
+ , [] {});
+ name1::name2::Type_Generation g3(efl::eo::instantiate
+ , [] (name1::name2::Type_Generation) {});
}
END_TEST