mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
13 lines
301 B
Plaintext
13 lines
301 B
Plaintext
enum Foo {
|
|
case <base>first</base>(<arglabel index=0>associated</arglabel><param index=0></param>: Int)
|
|
case second
|
|
}
|
|
|
|
func test() {
|
|
let _ = Foo.<base>first</base>(<callarg index=0>associated</callarg><callcolon index=0>: </callcolon>1)
|
|
let _ = Foo.<base>first</base>
|
|
let _ = Foo.second
|
|
}
|
|
|
|
|