Skip to content

Commit bb181f6

Browse files
committed
Merge pull request #893 from practicalswift/swiftc-28192-swift-genericfunctiontype-get
[swiftc] Add test case for crash triggered in swift::GenericFunctionType::get(…)
2 parents 3ce4fbf + 0f81366 commit bb181f6

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+
{struct Q<I{struct A:OptionSetType{let rawValue=""let rawValue=0

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

0 commit comments

Comments
 (0)