mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
We're planning to emit these attributes in module interfaces, but until we land that patch, we want to parse these attributes and ignore them. Part of rdar://51249311
10 lines
270 B
Swift
10 lines
270 B
Swift
// RUN: %target-swift-frontend -typecheck %s -verify
|
|
|
|
// This test just makes sure we don't error if we see either of these attributes.
|
|
|
|
@_hasMissingDesignatedInitializers // no-error
|
|
class MyClass {}
|
|
|
|
@_inheritsConvenienceInitializers // no-error
|
|
class MyOtherClass {}
|