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 68bd3d6 commit 1584602Copy full SHA for 1584602
validation-test/compiler_crashers_fixed/00058-get-self-type-for-container.swift
@@ -5,7 +5,6 @@
5
// See http://swift.org/LICENSE.txt for license information
6
// See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
7
8
-// RUN: %target-swift-frontend %s -parse -verify
9
-protocol c : b { // expected-error {{use of undeclared type 'b'}} expected-note {{to match this opening '{'}}
10
- func b // expected-error {{expected '(' in argument list of function declaration}}
11
-// expected-error@+1 {{expected '}' in protocol}}
+// RUN: not %target-swift-frontend %s -parse
+protocol c : b {
+ func b
0 commit comments