Files
swift-mirror/validation-test/compiler_crashers/0005-no-stacktrace.swift
Joe Pamer dc338c2a71 Update wording of some new diagnostics.
Swift SVN r23783
2014-12-08 21:56:52 +00:00

11 lines
355 B
Swift

// RUN: %target-swift-frontend %s -parse -verify
// Distributed under the terms of the MIT license
// Test case submitted to project by https://github.com/practicalswift (practicalswift)
class c {
func b((Any, c))(a: (Any, AnyObject)) {
b(a) // expected-error {{cannot invoke 'b' with an argument list of type '((Any, AnyObject))'}}
}
}