summaryrefslogtreecommitdiff
path: root/test/Transforms/PruneEH/2003-11-21-PHIUpdate.llx
blob: d71259c181d41c93883d410d1e309e805fd52a51 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
; RUN: llvm-as < %s | opt -prune-eh -disable-output

implementation

internal void %callee() {  ; does not throw
  ret void
}

int %caller() {
  invoke void %callee() to label %E except label %E

E:
	%X = phi int [0, %0], [0, %0]
	ret int %X
}