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:
Chris Lattner
2015-05-15 20:15:54 +00:00
parent 9f4233bdc1
commit e4b6afb9ae
125 changed files with 545 additions and 538 deletions

View File

@@ -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.