diff --git a/test/Transforms/Inline/2003-09-22-PHINodeInlineFail.ll b/test/Transforms/Inline/2003-09-22-PHINodeInlineFail.ll new file mode 100644 index 00000000000..d1db941f096 --- /dev/null +++ b/test/Transforms/Inline/2003-09-22-PHINodeInlineFail.ll @@ -0,0 +1,17 @@ +; RUN: llvm-as < %s | opt -inline -disable-output +implementation + +int %main() { +entry: + invoke void %__main( ) + to label %LongJmpBlkPre except label %LongJmpBlkPre + +LongJmpBlkPre: + %i.3 = phi uint [ 0, %entry ], [ 0, %entry] + ret int 0 +} + +void %__main() { + ret void +} +