Files
swift-mirror/validation-test/compiler_crashers_2_fixed/0036-rdar23719809.swift
Jacob Bandes-Storch 56e13fccfd Fix crash when considering invalid binary operator function for resolution <rdar://23719809&23720006>
This fixes compiler crashes resulting from an invalid FuncDecl which is later considered while resolving a binary application.
2015-12-04 14:43:12 -08:00

13 lines
171 B
Swift

// RUN: not %target-swift-frontend %s -parse
// rdar://problem/23719809&23720006
func ~=() {}
func ~=(_: Int) {}
func ~=(_: () -> ()) {}
switch 0 {
case 0:
break
}