If a template is instantiated which has a -> operator overload, and the class wrapped by the template contains a "using" declaration for members inherited from a base class, SWIG segfaults. The problem appears to affect only ruby (seems to be in documentation generation code?) generation. Attached is the smallest example I could come up with. The bug is in 1.3.40 and 2.0.0.