mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Start moving the testsuite to the "_ = foo()" idiom for evaluating an
expression but ignoring its value. This is the right canonical way to do this. NFC, just testsuite changes. Swift SVN r28638
This commit is contained in:
@@ -31,7 +31,7 @@ func variadic() {
|
||||
|
||||
// Closures with attributes in the parameter list.
|
||||
func attrs() {
|
||||
var _ = {(inout z: Int) -> Int in z }
|
||||
_ = {(inout z: Int) -> Int in z }
|
||||
}
|
||||
|
||||
// Closures with argument and parameter names.
|
||||
|
||||
Reference in New Issue
Block a user