mirror of
https://github.com/apple/swift.git
synced 2026-06-20 15:42:51 +02:00
93c80da77c
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()
|
|
}
|