inner declared types are treated as forward declarations - consistency now between innner/nested unions/structs and classes - only relevant to C++

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11730 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2009-11-08 20:45:48 +00:00
commit 9b318c45bc
4 changed files with 27 additions and 21 deletions

View file

@ -10,13 +10,3 @@ int a;
%}
// bug #909387
%inline %{
struct foo {
struct happy; // no warning
struct sad { int x; }; // warning
happy *good(); // produces good code
sad *bad(); // produces bad code
};
%}