1 // Copyright Daniel Wallin 2009. Use, modification and distribution is
2 // subject to the Boost Software License, Version 1.0. (See accompanying
3 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
6 #include <luabind/luabind.hpp>
8 void f(luabind::table
<> const& x
)
10 TEST_CHECK(luabind::type(x
) == LUA_TTABLE
);
13 void g(luabind::table
<luabind::argument
> const& x
)
15 TEST_CHECK(luabind::type(x
) == LUA_TTABLE
);
18 void test_main(lua_State
* L
)
20 using namespace luabind
;
34 "No matching overload found, candidates:\n"
35 "void f(table const&)"
40 "No matching overload found, candidates:\n"
41 "void g(table const&)"