mirror of
https://github.com/apple/swift.git
synced 2026-06-20 15:42:51 +02:00
e57f70bd4d
This removes the leading underscore from the macro.
11 lines
327 B
Swift
11 lines
327 B
Swift
// REQUIRES: swift_swift_parser
|
|
|
|
// RUN: %empty-directory(%t)
|
|
// RUN: %target-swift-frontend %s -swift-version 5 -module-name main -disable-availability-checking -typecheck -verify -plugin-path %swift-plugin-dir
|
|
|
|
// expected-error @+1 {{cannot be attached to a protocol}}
|
|
@DebugDescription
|
|
protocol MyProto {
|
|
func action()
|
|
}
|