MCPcopy Create free account
hub / github.com/catchorg/Catch2 / thisThrows

Function thisThrows

tests/SelfTest/UsageTests/Exception.tests.cpp:28–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26namespace {
27
28 int thisThrows() {
29 throw std::domain_error("expected exception");
30 return 1;
31 }
32
33 int thisDoesntThrow() {
34 return 0;

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected