diff --git a/llvm/test/Regression/Transforms/LevelRaise/2003-02-13-CallRaise.ll b/llvm/test/Regression/Transforms/LevelRaise/2003-02-13-CallRaise.ll new file mode 100644 index 000000000000..432c66861046 --- /dev/null +++ b/llvm/test/Regression/Transforms/LevelRaise/2003-02-13-CallRaise.ll @@ -0,0 +1,9 @@ +; RUN: as < %s | opt -raise + +declare void %foo() + +void %test() { + %X = cast void()* %foo to int()* + %retval = call int %X() + ret void +}