Fix more tests

This commit is contained in:
Doug Gregor
2021-03-03 08:53:59 -08:00
parent 2f213d5f7b
commit 09121d78d6
6 changed files with 11 additions and 9 deletions

View File

@@ -45,6 +45,7 @@ struct StructKey : CodingKey { // expected-error {{type 'StructKey' does not con
// Classes conforming to CodingKey should not get implict derived conformance.
class ClassKey : CodingKey { //expected-error {{type 'ClassKey' does not conform to protocol 'CodingKey'}}
// expected-warning@-1{{non-final class 'ClassKey' cannot conform to `ConcurrentValue`; use `UnsafeConcurrentValue`}}
}
// Types which are valid for CodingKey derived conformance should not get that