Home | History | Annotate | Download | only in test

Lines Matching defs:base

497 struct Base {
498 bool operator==(const Base&) { return true; }
501 struct Derived : public Base {
506 Base base;
508 Action<Base*()> ret = Return(&base);
509 EXPECT_EQ(&base, ret.Perform(make_tuple()));
579 Base base;
581 Action<Base&()> a = ReturnRef(base);
582 EXPECT_EQ(&base, &a.Perform(make_tuple()));
603 Base base;
605 Action<Base&()> a = ReturnRefOfCopy(base);
606 EXPECT_NE(&base, &a.Perform(make_tuple()));
1283 Base& r4 = ByRef<Base>(d);
1286 const Base& r5 = ByRef<const Base>(d);
1292 // Base b;