mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
6 lines
111 B
Swift
6 lines
111 B
Swift
// RUN: %target-parse-verify-swift
|
|
|
|
let x = [1,2,3]
|
|
func fun() -> Float {
|
|
return 1 + (x.count == 1 ? 0 : 21)
|
|
} |