Merge pull request #85369 from xymus/exportability-nle-classes-and-structs

Sema: Exportability check enums and classes in non-library-evolution mode
This commit is contained in:
Alexis Laferrière
2025-11-07 09:19:25 -08:00
committed by GitHub
7 changed files with 256 additions and 25 deletions

View File

@@ -0,0 +1,4 @@
// RUN: %target-typecheck-verify-swift %s
@_implementationOnly struct MyStruct {}
// expected-error@-1{{'@_implementationOnly' on a type requires '-enable-experimental-feature CheckImplementationOnly'}}