diff --git a/validation-test/compiler_crashers/28493-resolveidenttypecomponent-swift-typechecker-swift-declcontext-llvm-arrayref-swif.swift b/validation-test/compiler_crashers/28493-resolveidenttypecomponent-swift-typechecker-swift-declcontext-llvm-arrayref-swif.swift new file mode 100644 index 0000000000000..8cba16e330f67 --- /dev/null +++ b/validation-test/compiler_crashers/28493-resolveidenttypecomponent-swift-typechecker-swift-declcontext-llvm-arrayref-swif.swift @@ -0,0 +1,24 @@ +// This source file is part of the Swift.org open source project +// Copyright (c) 2014 - 2016 Apple Inc. and the Swift project authors +// Licensed under Apache License v2.0 with Runtime Library Exception +// +// See http://swift.org/LICENSE.txt for license information +// See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors + +// RUN: not --crash %target-swift-frontend %s -emit-ir +class c:A +let a +{ +protocol a{ +func d:A.d:A +class A:a}} _b(array:b{ +struct g:a{ +let a(){{typealias fb +protocol a:A{ +let e +typealias f)typealias etypealias e:d class a:a +protocol AA.h{protocol {a(){struct g:A{ +typealias fb +class a)class A:A{func