mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
A parse-only option is needed for parse performance tracking and the current option also includes semantic analysis.
13 lines
175 B
Swift
13 lines
175 B
Swift
// RUN: not %target-swift-frontend %s -typecheck
|
|
|
|
// rdar://problem/23719809&23720006
|
|
|
|
func ~=() {}
|
|
func ~=(_: Int) {}
|
|
func ~=(_: () -> ()) {}
|
|
|
|
switch 0 {
|
|
case 0:
|
|
break
|
|
}
|