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:
@@ -12,5 +12,5 @@
|
||||
import cfuncs
|
||||
|
||||
func test_puts(s: String) {
|
||||
var _ = puts(s) + 32
|
||||
_ = puts(s) + 32
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user