Skip to content

Commit 7772ae7

Browse files
committed
Merge pull request #1680 from practicalswift/swiftc-28271-swift-archetypebuilder-getallarchetypes
[swiftc] Add test case for crash triggered in swift::ArchetypeBuilder::getAllArchetypes()
2 parents 11c8f07 + c3eddb7 commit 7772ae7

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
// This source file is part of the Swift.org open source project
2+
// See http://swift.org/LICENSE.txt for license information
3+
4+
// RUN: not --crash %target-swift-frontend %s -parse
5+
// REQUIRES: asserts
6+
func b{{
7+
protocol P{func b
8+
func b<T where T=e
9+
typealias e

0 commit comments

Comments
 (0)