These tests have begun failing starting with commit
69a6417406a1b0316a1fa6aeb63339d0e1d2abbd, which
added a new import to ASTNodeImporter::VisitTypedefType.
This trips an assertion in following way:
- When creating a persistent variable for the result we call CopyType (in DeportType) under a CompleteTagDeclsScope (which is supposed to complete all decls newly imported in the CopyType call).
- During CopyType we call ASTNodeImporter::VisitTypedefType
- This now has a second import call on the desugared type
- In ASTImporterDelegate::ImportImpl we will now try to import a decl that no valid origin. But since we’re doing this under a CompleteTagDeclsScope, the NewDeclListener::NewDeclImported adds the decl to the list of decls to complete after the CopyType call. But this list shouldn’t contain decls with invalid origins because we assert this in ~CompleteTagDeclsScope, which is where the tests crash.
Skip this test for now until we have a fix or the origin tracking gets
refactored (see https://reviews.llvm.org/D101950).