Skip to content

Commit 755156a

Browse files
committed
Merge pull request swiftlang#942 from practicalswift/swiftc-28199-swift-constraints-constraintsystem-performmemberlookup
[swiftc] Add test case for crash triggered in swift::constraints::ConstraintSystem::performMemberLookup(…)
2 parents fab6738 + a4a2f96 commit 755156a

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
// RUN: not --crash %target-swift-frontend %s -parse
2+
// REQUIRES: asserts
3+
4+
// Distributed under the terms of the MIT license
5+
// Test case submitted to project by https://github.com/practicalswift (practicalswift)
6+
// Test case found by fuzzing
7+
8+
class A{
9+
struct S<>:A var e=A.e
10+
class A:e{typealias e=s

validation-test/compiler_crashers/README

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,4 @@ SOFTWARE.
2424
Repository: https://github.com/practicalswift/swift-compiler-crashes.git
2525
Web URL: https://github.com/practicalswift/swift-compiler-crashes
2626

27-
Tests updated as of revision a4124ed94080ff07b6cd55afe57970272fb52c2f
27+
Tests updated as of revision bfdd23326150a4ff1804e8810a0cbd5a254c5613

0 commit comments

Comments
 (0)