/* * Copyright 2019 by its authors. See AUTHORS. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ #ifdef HAVE_CONFIG_H #include "config.h" #endif #include #include #define EOLIANCXXTEST_API #define EOLIANCXXTEST_API_WEAK #include "complex.eo.h" #include "complex.eo.hh" template struct test_return_type; template struct test_return_type { static_assert(std::is_same::value, "Wrong type"); }; template struct test_return_type { static_assert(std::is_same::value, "Wrong type"); }; template struct test_param_type; template struct test_param_type { static_assert(std::is_same::value, "Wrong type"); }; template struct test_param_type { static_assert(std::is_same::value, "Wrong type"); }; test_param_type> inclasscont; test_param_type >> incontcont; test_param_type >const&> incontcontown; test_param_type >const&> incontowncontown; test_param_type >> incontowncont; test_param_type> instringcont; test_param_type> instringowncont; test_param_typeconst&> instringcontown; test_param_type&> outclasscont; test_param_type >&> outcontcont; test_param_type >&> outcontcontown; test_param_type >&> outcontowncontown; test_param_type >&> outcontowncont; test_param_type&> outstringcont; test_param_type&> outstringowncont; test_param_type&> outstringcontown; test_param_type > foo; test_return_type > bar; test_return_type wrapper_r; test_param_type wrapper_in; test_param_type wrapper_inout; test_param_type wrapper_out;