Files
swift-mirror/validation-test/compiler_crashers/2155-swift-optional-swift-diagnostic-operator.swift
2015-01-28 02:37:20 +00:00

15 lines
327 B
Swift

// RUN: not %target-swift-frontend %s -parse
// Distributed under the terms of the MIT license
// Test case submitted to project by https://github.com/practicalswift (practicalswift)
// Test case found by fuzzing
func a<T? = i: P {
class A {
}
enum A {
}
struct Q<T: B(c : b = f: b[[1].advance(c: 1]
return ")
class B : A, v