blob: 56cb0da6e517181357931aaa333c0a33cf4e4d4d [file] [log] [blame]
// RUN: not %target-swift-frontend -typecheck %s
protocol Foo {}
func foo(_ bar: Foo) {}
foo(true ? "a" : "b")