The situation in which the generated could would previously be invalid is illustrated in the new 'director_keywords' test case. git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12358 626c5289-ae23-0410-ae9c-e8d60b6d4f22