Remove incorrectly and newly introduced assert
Was failing in li_boost_shared_ptr.i for some languages. A similar testcase has been added into naturalvar_more.i.
This commit is contained in:
parent
e186d2176a
commit
3fcbb40af9
2 changed files with 7 additions and 1 deletions
|
|
@ -15,9 +15,15 @@
|
|||
template <typename X> struct T {};
|
||||
struct K {};
|
||||
struct Hidden;
|
||||
namespace Ace {
|
||||
int glob;
|
||||
}
|
||||
%}
|
||||
%{
|
||||
struct Hidden {};
|
||||
namespace Ace {
|
||||
template<typename> struct NoIdea {};
|
||||
}
|
||||
%}
|
||||
|
||||
%inline %{
|
||||
|
|
@ -40,6 +46,7 @@ struct S {
|
|||
const std::vector<std::string>::value_type const_string_member; // check this resolves to std::string which has a naturalvar
|
||||
std::vector<std::string>::value_type string_member; // check this resolves to std::string which has a naturalvar
|
||||
Hidden hidden;
|
||||
Ace::NoIdea<Hidden> noidea;
|
||||
S() : const_te(), const_string_member("initial string value") {}
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue