mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
13 lines
189 B
Swift
13 lines
189 B
Swift
// RUN: %swift -i %s -- a b c d e | FileCheck %s
|
|
|
|
func printArgV() -> Int {
|
|
for x in argv {
|
|
print(x + " ")
|
|
}
|
|
return 0
|
|
}
|
|
|
|
var x : Int = printArgV()
|
|
|
|
// CHECK: a b c d e
|