building its redecl chains, make sure we pull in the redeclarations of those canonical declarations. It's pretty difficult to reach a situation where we can find more canonical declarations of an entity while building its redecl chains; I think the provided testcase (4 modules and 7 declarations) cannot be reduced further. llvm-svn: 232411
7 lines
191 B
C
7 lines
191 B
C
#include "a.h" // ensure that our canonical decl is not from b
|
|
struct A;
|
|
#include "b.h"
|
|
struct A;
|
|
#include "c.h" // ensure that our type for A doesn't reference the definition in b
|
|
struct A;
|