Home | History | Annotate | Download | only in test

Lines Matching defs:sideeffect

201 int DieInDebugElse12(int* sideeffect) {
202 if (sideeffect) *sideeffect = 12;
629 int sideeffect = 0;
631 EXPECT_DEBUG_DEATH(DieInDebugElse12(&sideeffect), "death.*DieInDebugElse12")
636 // Checks that the assignment occurs in opt mode (sideeffect).
637 EXPECT_EQ(12, sideeffect);
641 // Checks that the assignment does not occur in dbg mode (no sideeffect).
642 EXPECT_EQ(0, sideeffect);
655 int sideeffect = 0;
657 ASSERT_DEBUG_DEATH(DieInDebugElse12(&sideeffect), "death.*DieInDebugElse12")
662 // Checks that the assignment occurs in opt mode (sideeffect).
663 EXPECT_EQ(12, sideeffect);
667 // Checks that the assignment does not occur in dbg mode (no sideeffect).
668 EXPECT_EQ(0, sideeffect);