blob: 03b460c058e87174b6233c7a9a440173f2a9e752 [file] [log] [blame]
// REQUIRES: objc_interop
// RUN: %target-swift-ide-test -syntax-coloring -playground -source-filename %s | %FileCheck %s
// RUN: %target-swift-ide-test -syntax-coloring -playground -typecheck -source-filename %s | %FileCheck %s
//: playground doc comment line
func playgroundCommentLine(f : () throws -> ()) rethrows {}
// CHECK: <doc-comment-line>//: playground doc comment line
/*:
playground doc comment multi-line
- returns: sdf
*/
func playgroundCommentMultiLine(f : () throws -> ()) rethrows {}
// CHECK: <doc-comment-block>/*:
// CHECK: playground doc comment multi-line
// CHECK: - <doc-comment-field>returns</doc-comment-field>: sdf
// CHECK: */</doc-comment-block>
// Keep this as the last test
/**
Trailing off ...
func unterminatedBlockComment() {}
// CHECK: <comment-line>// Keep this as the last test</comment-line>
// CHECK: <doc-comment-block>/**
// CHECK: Trailing off ...
// CHECK: func unterminatedBlockComment() {}
// CHECK: </doc-comment-block>