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:
David Farler
2016-12-06 18:58:33 -08:00
parent a7e3ebaecc
commit ff830ce4aa
2 changed files with 13 additions and 1 deletions

View File

@@ -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> {
}
}
}