mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
26 lines
391 B
Plaintext
26 lines
391 B
Plaintext
/*
|
|
Copyright (c) 452 Attila the Hun. All rights reserved.
|
|
*/
|
|
/* Blah Blah */
|
|
|
|
/* More Blah Blah */
|
|
|
|
|
|
public class MyClass {
|
|
|
|
internal func doit(x: Int)
|
|
}
|
|
|
|
/// This is a very nice extension.
|
|
extension MyClass {
|
|
|
|
/// and a nice subscript.
|
|
internal subscript(i: Int) -> Int { get }
|
|
}
|
|
|
|
/// Don't print `mutating` twice.
|
|
internal struct MyStruct {
|
|
|
|
internal mutating func foo()
|
|
}
|