Home
last modified time | relevance | path

Searched refs:CustomSubError (Results 1 – 1 of 1) sorted by relevance

/freebsd-14.2/contrib/llvm-project/compiler-rt/lib/orc/tests/unit/
H A Derror_test.cpp36 class CustomSubError : public RTTIExtends<CustomSubError, CustomError> { class
38 CustomSubError(int V1, std::string V2) in CustomSubError() function in __anonb8abc4660111::CustomSubError
39 : RTTIExtends<CustomSubError, CustomError>(V1), V2(std::move(V2)) {} in CustomSubError()
91 if (auto CSE = error_cast<CustomSubError>(E)) { in TEST()
101 auto E = make_error<CustomSubError>(42, "foo"); in TEST()
110 auto E = make_error<CustomSubError>(42, "foo"); in TEST()
111 if (auto CSE = error_cast<CustomSubError>(E)) { in TEST()
151 Error F = make_error<CustomSubError>(42, "foo"); in TEST()
155 EXPECT_FALSE(E.isA<CustomSubError>()); in TEST()
157 EXPECT_TRUE(F.isA<CustomSubError>()); in TEST()