mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
14 lines
235 B
Swift
14 lines
235 B
Swift
// RUN: not --crash %swift %s -emit-ir
|
|
// Test case submitted to project by https://github.com/practicalswift (practicalswift)
|
|
// http://www.openradar.me/17157251
|
|
|
|
// Case 1.
|
|
class A: A {
|
|
}
|
|
|
|
// Case 2.
|
|
class B : C {
|
|
}
|
|
|
|
typealias C = B
|