mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-21 18:22:53 +01:00
[unittest] Fix -Wunused-variable after D94717
This commit is contained in:
parent
fd58086fcb
commit
e03ea6bfdf
@ -1534,8 +1534,7 @@ TEST(LoopInfoTest, LoopUserBranch) {
|
||||
runWithLoopInfo(*M, "foo", [&](Function &F, LoopInfo &LI) {
|
||||
Function::iterator FI = F.begin();
|
||||
FI = ++FI;
|
||||
BasicBlock *Guard = &*FI;
|
||||
assert(Guard->getName() == "guard");
|
||||
assert(FI->getName() == "guard");
|
||||
|
||||
FI = ++FI;
|
||||
BasicBlock *Header = &*(++FI);
|
||||
|
Loading…
Reference in New Issue
Block a user