Files
swift-mirror/validation-test/compiler_crashers/079-llvm-ondiskchainedhashtable-swift-modulefile-decltableinfo-find.swift
2014-10-26 04:38:02 +00:00

10 lines
542 B
Swift

// 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: %swift -parse %s -verify
func b((Any, e))(e: (Any) -> <d>(()-> d) -> f // expected-error{{type annotation missing in pattern}} expected-error{{expected type for function result}} expected-error{{use of undeclared type 'e'}}
// expected-error@-1{{expected ',' separator}}
// expected-error@-2{{expected ',' separator}}
// expected-error@-3{{expected parameter typ}}