fixes "flatnested" feature for out-of-scope defined nested classes

This commit is contained in:
Vladimir Kalinin 2014-11-04 19:30:53 +03:00
commit 8bc38dc007
2 changed files with 22 additions and 3 deletions

View file

@ -26,4 +26,15 @@ namespace ns {
#endif
};
}
#ifndef __clang__
class Outer1 {
struct Nested1;
public:
struct Nested2;
};
struct Outer1::Nested2 {
int data;
};
#endif
%}