Merge pull request #876 from practicalswift/swiftc-28191-swift-typebase-getcanonicaltype

[swiftc] Add test case for crash triggered in swift::TypeBase::getCanonicalType()
diff --git a/validation-test/compiler_crashers/28191-swift-typebase-getcanonicaltype.swift b/validation-test/compiler_crashers/28191-swift-typebase-getcanonicaltype.swift
new file mode 100644
index 0000000..a1847ba
--- /dev/null
+++ b/validation-test/compiler_crashers/28191-swift-typebase-getcanonicaltype.swift
@@ -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
diff --git a/validation-test/compiler_crashers/README b/validation-test/compiler_crashers/README
index f886316..5c9a284 100644
--- a/validation-test/compiler_crashers/README
+++ b/validation-test/compiler_crashers/README
@@ -24,4 +24,4 @@
 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