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.
9 lines
330 B
Swift
9 lines
330 B
Swift
// RUN: not %swiftc_driver -emit-executable -o %t.exe %s -Xfrontend -debug-assert-immediately 2>&1 | %FileCheck %s
|
|
// RUN: not %swiftc_driver -emit-executable -o %t.exe %s -Xfrontend -debug-assert-after-parse 2>&1 | %FileCheck %s
|
|
|
|
// REQUIRES: asserts
|
|
|
|
// CHECK: error: compile command failed due to signal
|
|
|
|
print("Hello, World")
|