Lines Matching refs:ErrorOr
19 ErrorOr<int> t1() {return 1;} in t1()
20 ErrorOr<int> t2() { return errc::invalid_argument; } in t2()
22 TEST(ErrorOr, SimpleValue) { in TEST() argument
23 ErrorOr<int> a = t1(); in TEST()
29 ErrorOr<int> b = a; in TEST()
40 ErrorOr<std::unique_ptr<int> > t3() { in t3()
44 TEST(ErrorOr, Types) { in TEST() argument
46 ErrorOr<int&> a(x); in TEST()
57 TEST(ErrorOr, Covariant) { in TEST() argument
58 ErrorOr<B*> b(ErrorOr<D*>(nullptr)); in TEST()
59 b = ErrorOr<D*>(nullptr); in TEST()
61 ErrorOr<std::unique_ptr<B> > b1(ErrorOr<std::unique_ptr<D> >(nullptr)); in TEST()
62 b1 = ErrorOr<std::unique_ptr<D> >(nullptr); in TEST()