Sign in
fuchsia
/
third_party
/
swift
/
f2cf0510d6e25911e9babada46e0025862bd00cd
/
.
/
test
/
attr
/
ApplicationMain
/
attr_main_protocol.swift
blob: d8f9bdc925b698ff9a9c3c62153a809ab02e7cea [
file
] [
log
] [
blame
]
// RUN: %target-swift-frontend -typecheck -parse-as-library -verify %s
@main
// expected-error{{'@main' attribute cannot be applied to this declaration}}
protocol
EntryPoint
{
static
func main
()
}