mirror of
https://github.com/llvm/llvm-project.git
synced 2025-05-03 05:36:06 +00:00

declarations that are made visible after the dummy is parsed and ODR verified Prior to this commit the "(getContainingDC(DC) == CurContext && "The next DeclContext should be lexically contained in the current one.")," assertion failure was triggered during semantic analysis of the dummy tag declaration that was declared in another tag declaration because its lexical context did not point to the outer tag decl. rdar://32292196 llvm-svn: 310706
7 lines
129 B
C
7 lines
129 B
C
struct Outer {
|
|
// This definition is actually hidden since only submodule 'one' is imported.
|
|
struct Inner {
|
|
int x;
|
|
} field;
|
|
};
|