Files
swift-mirror/test/Interop/Cxx/class/invalid-nested-struct-module-interface.swift
zoecarver abab6b3332 [cxx-interop] Bail earlier when importing invalid records.
If we have a C++ record decl that's invalid (because of a deleted
destructor or copy constructor), bail before we import any of its
members or cache the decl. This way, we don't accidentally import any
"nested" decls.
2021-03-17 11:25:07 -07:00

5 lines
216 B
Swift

// RUN: %target-swift-ide-test -print-module -module-to-print=InvalidNestedStruct -I %S/Inputs/ -source-filename=x -enable-cxx-interop | %FileCheck %s
// CHECK-NOT: CannotImport
// CHECK-NOT: ForwardDeclaredSibling