mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
The signaled callback is treated more as a general crash handler clean up wise. While it doesn't 100% line up, have Windows call the signaled callback on exit codes considered to be errors.
10 lines
325 B
Swift
10 lines
325 B
Swift
// RUN: not %swiftc_driver -emit-executable -o %t.exe %s -Xfrontend -debug-crash-immediately 2>&1 | %FileCheck %s
|
|
|
|
// RUN: not %swiftc_driver -emit-executable -o %t.exe %s -Xfrontend -debug-crash-after-parse 2>&1 | %FileCheck %s
|
|
|
|
// CHECK: error: compile command failed due to signal {{-?[0-9]+}}
|
|
|
|
func anchor() {}
|
|
anchor()
|
|
|