Work around clang bugs with symbol resolution
This commit is contained in:
parent
7c5275a0f1
commit
9fd42e0e67
3 changed files with 129 additions and 1 deletions
|
|
@ -3,12 +3,22 @@
|
|||
%inline %{
|
||||
namespace ns {
|
||||
struct Global {
|
||||
#ifdef __clang__
|
||||
struct Outer {
|
||||
struct Nested;
|
||||
struct Nested {
|
||||
int data;
|
||||
};
|
||||
};
|
||||
struct Outer::Nested instance;
|
||||
#else
|
||||
struct Outer {
|
||||
struct Nested;
|
||||
};
|
||||
struct Outer::Nested {
|
||||
int data;
|
||||
} instance;
|
||||
#endif
|
||||
};
|
||||
}
|
||||
%}
|
||||
%}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue