blob: 520e8ed5e9d44d6a3c200aa345222d23c1d62da5 [file]
%module using_duplicates
%inline %{
namespace aa {
struct UsedFromNS {
int value;
};
}
template<typename T> class Container {
public:
T item;
T get() const { return item; }
void set(T t) { item = t; }
};
%}
using aa::UsedFromNS;
using aa::UsedFromNS; // Duplicate using declaration (the regression being tested)
%template(ContainerUsedFromNS) Container< UsedFromNS >;