Files
swift-mirror/test/Compatibility/shared_owned_identifiers.swift
Slava Pestov 93c80da77c Parse: __shared and __owned should be contextual keywords
This was a source compatibility regression, someone actually had
an identifier named __shared.
2017-10-24 20:45:50 -07:00

11 lines
125 B
Swift

// RUN: %target-swift-frontend -typecheck %s
func __shared() {}
func __owned() {}
func foo() {
__shared()
__owned()
}