forked from swiftlang/swift
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request swiftlang#876 from practicalswift/swiftc-28191-swi…
…ft-typebase-getcanonicaltype [swiftc] Add test case for crash triggered in swift::TypeBase::getCanonicalType()
- Loading branch information
Showing
2 changed files
with
11 additions
and
1 deletion.
There are no files selected for viewing
10 changes: 10 additions & 0 deletions
10
validation-test/compiler_crashers/28191-swift-typebase-getcanonicaltype.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
// RUN: not --crash %target-swift-frontend %s -parse | ||
|
||
// Distributed under the terms of the MIT license | ||
// Test case submitted to project by https://github.com/practicalswift (practicalswift) | ||
// Test case found by fuzzing | ||
|
||
protocol a:A.e | ||
protocol A{typealias e:a | ||
class A:e | ||
func b:A |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters