// Tests for the Swift frontends `-verify` mode. // RUN: not %target-typecheck-verify-swift 2>&1 | %FileCheck %s // CHECK: [[@LINE+1]]:1: error: unexpected error produced: use of unresolved undefinedFunc() // CHECK: [[@LINE+1]]:4: error: expected error not produced // expected-error{{This error message never gets output}} // CHECK: [[@LINE+1]]:20: error: expected {{{{}} in {{expected}}-{{warning}} // expected-warning // CHECK: [[@LINE+2]]:8: error: unexpected error produced: generic type 'Array' specialized with too many type parameters // CHECK: note: diagnostic produced elsewhere: generic type 'Array' declared here let x: Array