mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[embedded] Enable support for existentials/boxed protocol types per default
And enable this feature in production.
This commit is contained in:
@@ -1,8 +1,10 @@
|
||||
// RUN: %target-swift-frontend -emit-ir -verify %s -parse-stdlib -enable-experimental-feature Embedded -wmo
|
||||
// RUN: %target-swift-frontend -emit-ir -verify %s -parse-stdlib -enable-experimental-feature Embedded -wmo -disable-embedded-existentials
|
||||
|
||||
// REQUIRES: swift_in_compiler
|
||||
// REQUIRES: swift_feature_Embedded
|
||||
|
||||
// This is only an error if we disable support for existentials in embedded.
|
||||
|
||||
public protocol Player {}
|
||||
struct Concrete: Player {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user