1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00

Testcase for a bug that caused a whole bunch of testcases to die in the nightly

tester last night.

llvm-svn: 12011
This commit is contained in:
Chris Lattner 2004-02-29 22:15:51 +00:00
parent 33b5dd0463
commit ed18f6afc2

View File

@ -0,0 +1,16 @@
; RUN: llvm-as < %s | opt -lowerinvoke -enable-correct-eh-support -disable-output
void %_ZNKSt11__use_cacheISt16__numpunct_cacheIcEEclERKSt6locale() {
entry:
br bool false, label %then, label %UnifiedReturnBlock
then: ; preds = %entry
invoke void %_Znwj( )
to label %UnifiedReturnBlock unwind label %UnifiedReturnBlock
UnifiedReturnBlock: ; preds = %entry, %then, %then
%UnifiedRetVal = phi int* [ null, %entry ], [ null, %then ], [ null, %then ]
ret void
}
declare void %_Znwj()