Sign in
fuchsia
/
third_party
/
swift
/
refs/tags/swift-4.0-DEVELOPMENT-SNAPSHOT-2017-08-01-a
/
.
/
test
/
attr
/
attr_final_protocol_extension.swift
blob: cc1c37707aaa4088ab79c448fb07d82aeda3d50f [
file
] [
log
] [
blame
]
// RUN: %target-typecheck-verify-swift -swift-version 4
protocol P
{}
extension P
{
final
func inExtension
()
{}
// expected-error {{only classes and class members may be marked with 'final'}} {{3-9=}}
}