Files
swift-mirror/test/attr/attr_hasMissingDesignatedInits.swift
Harlan Haskins 1b24c79fe4 [AST] Add attributes for hasMissingDesignatedInitializers and inheritsConvenienceInitializers
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
2019-11-21 15:45:34 -08:00

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 {}