1 ; RUN: opt < %s -simplifycfg -simplifycfg-require-and-preserve-domtree=1 -disable-output
3 ; Test that SimplifyCFG does not cause CallBr instructions to have duplicate
4 ; destinations, which will cause the verifier to assert.
8 callbr void asm sideeffect "", "X"(i8* blockaddress(@fun0, %bb1))
9 to label %bb2 [label %bb1]
20 callbr void asm sideeffect "", "X"(i8* blockaddress(@fun1, %bb1))
21 to label %bb2 [label %bb1]