llvm.org GIT mirror llvm / release_22 test / CodeGen / Generic / 2004-02-08-UnwindSupport.llx
release_22

Tree @release_22 (Download .tar.gz)

2004-02-08-UnwindSupport.llx @release_22raw · history · blame

; RUN: llvm-upgrade < %s | llvm-as | llc -enable-correct-eh-support

int %test() {
  unwind
}

int %main() {
	%X = invoke int %test() to label %cont except label %EH
cont:
	ret int 1
EH:
	ret int 0
}