/* This unit tests whether Swig correctly parses the code and makes wrappers
for the new C++0x extern templates (explicit template instantiation without
using the translation unit).
*/
%module cpp0x_template_explicit
%warnfilter(320) std::vector;
%warnfilter(320) std::vector;
%inline %{
#include
class A {
public:
int member;
int memberFunction() { return 100; }
};
template class std::vector;
extern template class std::vector;
template class std::vector;
extern template class std::vector;
%}