MCPcopy Create free account
hub / github.com/awslabs/aws-lambda-cpp / ReturnSentinel

Method ReturnSentinel

tests/gtest/gtest.h:9704–9704  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9702 class ReturnSentinel {
9703 public:
9704 explicit ReturnSentinel(DeathTest* test) : test_(test) { }
9705 ~ReturnSentinel() { test_->Abort(TEST_ENCOUNTERED_RETURN_STATEMENT); }
9706 private:
9707 DeathTest* const test_;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected