Skip to content

Commit 71a5c0d

Browse files
committed
Merge pull request #1021 from practicalswift/swiftc-28218-swift-valuedecl-settype
[swiftc] Add test case for crash triggered in swift::ValueDecl::setType(…)
2 parents b3ac017 + 893a70e commit 71a5c0d

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+
let a{{enum a{case c(c(class c]func c

0 commit comments

Comments
 (0)