Sign in
fuchsia
/
third_party
/
swift
/
115f7a43e006a33e81039ca67932db42fcb16b64
/
.
/
test
/
attr
/
testable_invalid_decl.swift
blob: bfb4499cc55b101fe8bba7a27b17e1ad091f37a2 [
file
] [
log
] [
blame
]
// RUN: %target-swift-frontend -typecheck -verify %s
@testable
func foo
()
{}
// expected-error {{@testable may only be used on 'import' declarations}} {{1-11=}}