mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
This was a source compatibility regression, someone actually had an identifier named __shared.
11 lines
125 B
Swift
11 lines
125 B
Swift
// RUN: %target-swift-frontend -typecheck %s
|
|
|
|
func __shared() {}
|
|
|
|
func __owned() {}
|
|
|
|
func foo() {
|
|
__shared()
|
|
__owned()
|
|
}
|