mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-02 00:51:56 +00:00
New testcase for crashing bug
llvm-svn: 1843
This commit is contained in:
parent
a111bee74b
commit
c9ff9a1639
15
test/Regression/Transforms/LevelRaise/2002-03-11-Calls.ll
Normal file
15
test/Regression/Transforms/LevelRaise/2002-03-11-Calls.ll
Normal file
@ -0,0 +1,15 @@
|
||||
; Fixed a problem where level raise would try to forward substitute a cast of a
|
||||
; method pointer type into a call. In doing so, it would have to change the
|
||||
; types of the arguments to the call, but broke doing so.
|
||||
;
|
||||
; RUN: as < %s | opt -raise
|
||||
|
||||
implementation
|
||||
|
||||
|
||||
void "test"(void (int*) *%Fn, long* %Arg)
|
||||
begin
|
||||
%Fn2 = cast void (int*) *%Fn to void(long*) *
|
||||
call void %Fn2(long *%Arg)
|
||||
ret void
|
||||
end
|
Loading…
Reference in New Issue
Block a user