Skip to content

Commit a121db8

Browse files
committed
Merge pull request #898 from practicalswift/swiftc-28193-swift-typechecker-lookupmembertype
[swiftc] Add test case for crash triggered in swift::TypeChecker::lookupMemberType(…)
2 parents ea1d9df + 73cd730 commit a121db8

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
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+
var d:CollectionType{for c d in

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 123e5e159549b3b82e97926b8ed077f6172441e4
27+
Tests updated as of revision c4404e3d4d4e3a39a771530a59d9ec13405a7e9f

0 commit comments

Comments
 (0)