Home | History | Annotate | Download | only in test

Lines Matching defs:sideeffect

196 int DieInDebugElse12(int* sideeffect) {
197 if (sideeffect) *sideeffect = 12;
572 int sideeffect = 0;
574 EXPECT_DEBUG_DEATH(DieInDebugElse12(&sideeffect),
579 // Checks that the assignment occurs in opt mode (sideeffect).
580 EXPECT_EQ(12, sideeffect);
584 // Checks that the assignment does not occur in dbg mode (no sideeffect).
585 EXPECT_EQ(0, sideeffect);
598 int sideeffect = 0;
602 EXPECT_EQ(12, DieInDebugElse12(&sideeffect));
604 EXPECT_EQ(12, sideeffect);
609 // Checks that the assignment occurs in opt mode (sideeffect).
610 EXPECT_EQ(12, sideeffect);
614 // Checks that the assignment does not occur in dbg mode (no sideeffect).
615 EXPECT_EQ(0, sideeffect);