Files
swift-mirror/validation-test/compiler_crashers_2_fixed/0036-rdar23719809.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

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
}