updated missed tests

This commit is contained in:
fischertony
2018-04-22 20:48:24 +03:00
parent a72a0c813e
commit ba1bbd028d
5 changed files with 8 additions and 8 deletions

View File

@@ -258,7 +258,7 @@ func test_lambda2() {
{ () -> protocol<Int> in
// expected-warning @-1 {{'protocol<...>' composition syntax is deprecated and not needed here}} {{11-24=Int}}
// expected-error @-2 {{non-protocol, non-class type 'Int' cannot be used within a protocol-constrained type}}
// expected-warning @-3 {{result of call is unused}}
// expected-warning @-3 {{result of call to closure returning 'Any' is unused}}
return 1
}()
}