Home | History | Annotate | Download | only in test

Lines Matching defs:sideeffect

199 int DieInDebugElse12(int* sideeffect) {
200 if (sideeffect) *sideeffect = 12;
627 int sideeffect = 0;
629 EXPECT_DEBUG_DEATH(DieInDebugElse12(&sideeffect), "death.*DieInDebugElse12")
634 // Checks that the assignment occurs in opt mode (sideeffect).
635 EXPECT_EQ(12, sideeffect);
639 // Checks that the assignment does not occur in dbg mode (no sideeffect).
640 EXPECT_EQ(0, sideeffect);
653 int sideeffect = 0;
655 ASSERT_DEBUG_DEATH(DieInDebugElse12(&sideeffect), "death.*DieInDebugElse12")
660 // Checks that the assignment occurs in opt mode (sideeffect).
661 EXPECT_EQ(12, sideeffect);
665 // Checks that the assignment does not occur in dbg mode (no sideeffect).
666 EXPECT_EQ(0, sideeffect);