diff options
Diffstat (limited to 'test/Transforms/LevelRaise')
-rw-r--r-- | test/Transforms/LevelRaise/2002-10-08-VarArgCallInfLoop.ll | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/Transforms/LevelRaise/2002-10-08-VarArgCallInfLoop.ll b/test/Transforms/LevelRaise/2002-10-08-VarArgCallInfLoop.ll new file mode 100644 index 0000000000..111cddca5a --- /dev/null +++ b/test/Transforms/LevelRaise/2002-10-08-VarArgCallInfLoop.ll @@ -0,0 +1,10 @@ +; Due to a recent change, this testcase now sends the raise pass into an infinite loop +; +; RUN: as < %s | opt -raise + +implementation + +void %test(sbyte* %P, void(...) * %F) { + call void (...)* %F(sbyte* %P) + ret void +} |