Files
swift-mirror/validation-test/compiler_crashers_fixed/22725-swift-constraints-constraintsystem-solvesimplified.swift
2016-03-14 20:53:03 +01:00

10 lines
271 B
Swift

// RUN: not %target-swift-frontend %s -parse
// Issue 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("" | "" | "" | "")