mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
There's a lot more work to do here, but start to categorize tests along the lines of what a specification might look like, with directories (chapters) for basic concepts, declarations, expressions, statements, etc. Swift SVN r9958
9 lines
209 B
Swift
9 lines
209 B
Swift
// RUN: %swift %s -parse -verify
|
|
|
|
protocol P {
|
|
def << (lhs: Self, rhs: Self) -> Self
|
|
def >> (lhs: Self, rhs: Self) -> Self
|
|
def <<= (lhs: @inout Self, rhs: Self)
|
|
def >>= (lhs: @inout Self, rhs: Self)
|
|
}
|