mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
I am doing this separately from the actual change to eliminate the option to make it easier to review.
10 lines
273 B
Swift
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{
|
|
}
|