We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c904a59 commit 016e3dcCopy full SHA for 016e3dc
validation-test/compiler_crashers_2_fixed/sr11394.swift
@@ -0,0 +1,5 @@
1
+// RUN: not %target-swift-frontend -typecheck %s
2
+
3
+protocol Foo {}
4
+func foo(_ bar: Foo) {}
5
+foo(true ? "a" : "b")
0 commit comments