mirror of
https://github.com/apple/swift.git
synced 2026-02-27 18:26:24 +01:00
Enable one-way constraints by default for function builders, finishing rdar://problem/50150793.
10 lines
200 B
Swift
10 lines
200 B
Swift
// RUN: %target-swift-frontend -typecheck %S/Inputs/function_builder_definition.swift -primary-file %s
|
|
|
|
func test0() -> (Int, Double, String) {
|
|
return tuplify {
|
|
17
|
|
3.14159
|
|
"Hello"
|
|
}
|
|
}
|