Files
swift-mirror/test/decl/protocol/operators_in_protocols.swift
David Farler b7d17b25ba Rename -parse flag to -typecheck
A parse-only option is needed for parse performance tracking and the
current option also includes semantic analysis.
2016-11-28 10:50:55 -08:00

9 lines
245 B
Swift

// RUN: %target-typecheck-verify-swift
protocol P {
static func << (lhs: Self, rhs: Self) -> Self
static func >> (lhs: Self, rhs: Self) -> Self
static func <<= (lhs: inout Self, rhs: Self)
static func >>= (lhs: inout Self, rhs: Self)
}