// Distributed under the terms of the MIT license
// Test case submitted to project by https://github.com/practicalswift (practicalswift)
// Test case found by fuzzing
// RUN: not %swift %s -parse

struct c<e> {
    let d: [(  h
}
func b(g: f) -> <e>(()-> e) -> i

// Distributed under the terms of the MIT license
// Test case submitted to project by https://github.com/practicalswift (practicalswift)
// Test case found by fuzzing
// RUN: not %swift %s -parse

struct c<e> {
    let d: [(  h // expected-note 4{{to match this opening}}
      // expected-note @-1{{undeclared type}}
}
func b(g: f) -> <e>(()-> e) -> i

--- 
+++ 
@@ -4,7 +4,6 @@
 // RUN: not %swift %s -parse
 
 struct c<e> {
-    let d: [(  h // expected-note 4{{to match this opening}}
-      // expected-note @-1{{undeclared type}}
+    let d: [(  h
 }
 func b(g: f) -> <e>(()-> e) -> i
Drop expected-* annotations from test; it's too messy to -verify. NFC

Swift SVN r22411
