Files
swift-mirror/test/IRGen/mixed_objc_native_protocol_constraints.swift

10 lines
315 B
Swift

// RUN: %target-swift-frontend -assume-parsing-unqualified-ownership-sil -emit-ir -verify %s
// compiler_crashers/029-class-with-anyobject-type-constraint.swift
// Test case submitted to project by https://github.com/jansabbe (Jan Sabbe)
protocol Fooable { func foo() }
class A<B: Fooable> where B: AnyObject{
}