| 71 | } |
| 72 | |
| 73 | TEST(StatusOr, ElementType) { |
| 74 | static_assert(std::is_same<StatusOr<int>::element_type, int>(), ""); |
| 75 | static_assert(std::is_same<StatusOr<char>::element_type, char>(), ""); |
| 76 | } |
| 77 | |
| 78 | TEST(StatusOr, NullPointerStatusOr) { |
| 79 | // As a very special case, null-plain-pointer StatusOr used to be an |
nothing calls this directly
no test coverage detected