mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
11 lines
200 B
Swift
11 lines
200 B
Swift
// RUN: %target-typecheck-verify-swift
|
|
|
|
/// https://github.com/apple/swift/issues/52057
|
|
/// `Array` type locally interferes with array literals
|
|
|
|
struct Array { }
|
|
|
|
func foo() {
|
|
_ = ["a", "b", "c"]
|
|
}
|