Skip to content

Commit 69866e9

Browse files
[swiftc (98 vs. 5180)] Add crasher in ?
Add test case for crash triggered in `?`. Current number of unresolved compiler crashers: 98 (5180 resolved) Stack trace: ``` 0 swift 0x00000000031dec28 1 swift 0x00000000031df4a6 2 libpthread.so.0 0x00007f76ca7e0330 3 libc.so.6 0x00007f76c8f9ec37 gsignal + 55 4 libc.so.6 0x00007f76c8fa2028 abort + 328 5 swift 0x0000000000d8018f 6 swift 0x0000000000d838af 7 swift 0x0000000000d79e5c 8 swift 0x0000000000d8a740 9 swift 0x0000000000d8aa36 10 swift 0x0000000000d8a71c 11 swift 0x0000000000d8982d 12 swift 0x0000000000d88d72 13 swift 0x0000000000d88c74 14 swift 0x0000000000dde2ee 15 swift 0x0000000000d707bc 16 swift 0x0000000000b1d023 17 swift 0x0000000000b54610 18 swift 0x0000000000958b03 19 swift 0x00000000004a050e 20 swift 0x00000000004674de 21 libc.so.6 0x00007f76c8f89f45 __libc_start_main + 245 22 swift 0x0000000000464be6 ```
1 parent 2b73a9a commit 69866e9

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
// This source file is part of the Swift.org open source project
2+
// Copyright (c) 2014 - 2016 Apple Inc. and the Swift project authors
3+
// Licensed under Apache License v2.0 with Runtime Library Exception
4+
//
5+
// See http://swift.org/LICENSE.txt for license information
6+
// See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
7+
8+
// RUN: not --crash %target-swift-frontend %s -emit-ir
9+
func a{guard{guard let a

0 commit comments

Comments
 (0)