Skip to content

Commit 3e8b9ff

Browse files
Merge pull request #6647 from practicalswift/swiftc-28632-unreachable-executed-at-swift-lib-ast-type-cpp-1130
[swiftc (48 vs. 5396)] Add crasher: UNREACHABLE executed at swift/lib/AST/Type.cpp:1337
2 parents cd9dd8c + cb5e7f1 commit 3e8b9ff

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
// This source file is part of the Swift.org open source project
2+
// Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors
3+
// Licensed under Apache License v2.0 with Runtime Library Exception
4+
//
5+
// See https://swift.org/LICENSE.txt for license information
6+
// See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
7+
8+
// REQUIRES: deterministic-behavior
9+
// REQUIRES: asserts
10+
// RUN: not --crash %target-swift-frontend %s -emit-ir
11+
12+
{func a>
13+
print(a==#keyPath(a{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{

0 commit comments

Comments
 (0)