blob: 6a8cb4516a3337347ade047e75971d44d3f74d04 [file] [edit]
; REQUIRES: backtrace
; RUN: not --crash opt -O2 -opt-pipeline-trigger-crash %s -disable-output 2>&1 | \
; RUN: FileCheck %s --check-prefix=OPT
;
; RUN: not --crash llc -codegen-pipeline-trigger-crash %s -o /dev/null 2>&1 | \
; RUN: FileCheck %s --check-prefix=CODEGEN
; OPT: trigger-crash-function
; CODEGEN: TriggerCrashFunctionPass
define void @foo() {
ret void
}