Files
swift-mirror/test/Driver/crash.swift
Jason Mittertreiner b895f0cf17 Have Windows Call Signaled Callback on Crashes (#23018)
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.
2019-03-01 17:49:26 -08:00

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()