Files
swift-mirror/test/IRGen/mixed_objc_native_protocol_constraints.swift
Michael Gottesman fd4828e40a Eliminate -assume-parsing-unqualified-ownership-sil from tests.
I am doing this separately from the actual change to eliminate the option to
make it easier to review.
2018-12-19 12:54:13 -08:00

10 lines
273 B
Swift

// RUN: %target-swift-frontend -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{
}