Files
swift-mirror/validation-test/compiler_crashers_fixed/22725-swift-constraints-constraintsystem-solvesimplified.swift
2016-02-01 20:50:32 -08:00

11 lines
325 B
Swift

// RUN: not %target-swift-frontend %s -parse
// Distributed under the terms of the MIT license
// Test case found by https://github.com/robrix (Rob Rix)
// http://www.openradar.me/19343997
func b<T>(String -> (T, String)?
func |<T>(c: String -> (T, String)?
a:String > (())) -> String -> (T?, String)?
b("" | "" | "" | "")