mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
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:
@@ -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'}}
|
||||
Reference in New Issue
Block a user