mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Add separate compiler crasher case for SR-3354
This isn't specifically related to code completion, but an infinite recursion in the type checker. https://bugs.swift.org/browse/SR-3354
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
// RUN: not --crash %target-swift-frontend %s -emit-ir
|
||||
// REQUIRES: asserts
|
||||
|
||||
// https://bugs.swift.org/browse/SR-3354
|
||||
class A {
|
||||
class T {
|
||||
class b: Array<T> {
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user