mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
18 lines
555 B
Swift
18 lines
555 B
Swift
/// This is my enum.
|
|
public enum Foo {
|
|
/// This is really special.
|
|
case A(String)
|
|
|
|
/// This isn't special.
|
|
case B(String)
|
|
}
|
|
|
|
// RUN: %target-swift-ide-test -print-ast-typechecked -print-interface -source-filename %s | %FileCheck %s -check-prefix=CHECK1
|
|
// CHECK1: {{^}}/// This is my enum.{{$}}
|
|
// CHECK1: {{^}}public enum Foo {{{$}}
|
|
// CHECK1: {{^}} /// This is really special.{{$}}
|
|
// CHECK1: {{^}} case A(String){{$}}
|
|
// CHECK1: {{^}} /// This isn't special.{{$}}
|
|
// CHECK1: {{^}} case B(String){{$}}
|
|
// CHECK1: {{^}}}{{$}}
|