fixes "flatnested" feature for out-of-scope defined nested classes
This commit is contained in:
parent
6d6cefa791
commit
8bc38dc007
2 changed files with 22 additions and 3 deletions
|
|
@ -26,4 +26,15 @@ namespace ns {
|
|||
#endif
|
||||
};
|
||||
}
|
||||
#ifndef __clang__
|
||||
class Outer1 {
|
||||
struct Nested1;
|
||||
public:
|
||||
struct Nested2;
|
||||
};
|
||||
struct Outer1::Nested2 {
|
||||
int data;
|
||||
};
|
||||
#endif
|
||||
|
||||
%}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue