Skip to content

Commit dcc1638

Browse files
committed
Merge pull request #859 from practicalswift/swiftc-28189-swift-valuedecl-settype
[swiftc] Add test case for crash triggered in swift::ValueDecl::setType(…)
2 parents 53128de + 66b4481 commit dcc1638

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
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+
func f{{for b{}{String($0

0 commit comments

Comments
 (0)