Skip to content

Commit

Permalink
Merge pull request swiftlang#876 from practicalswift/swiftc-28191-swi…
Browse files Browse the repository at this point in the history
…ft-typebase-getcanonicaltype

[swiftc] Add test case for crash triggered in swift::TypeBase::getCanonicalType()
  • Loading branch information
gribozavr committed Jan 6, 2016
2 parents dcc1638 + 53042ba commit 54dcd16
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
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
2 changes: 1 addition & 1 deletion validation-test/compiler_crashers/README
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ SOFTWARE.
Repository: https://github.com/practicalswift/swift-compiler-crashes.git
Web URL: https://github.com/practicalswift/swift-compiler-crashes

Tests updated as of revision 75c8eac27530ed891be4104485129820572c3fd1
Tests updated as of revision e823a5d05b386975c98b5cdd7045e4d8474bff60

0 comments on commit 54dcd16

Please sign in to comment.