Lines Matching refs:Test3
916 struct Test3 { in TEST() struct
929 Test3() = default; in TEST()
930 explicit Test3(const Test1&) : state(State::COPY_CONSTRUCTED_FROM_TEST1) {} in TEST() argument
931 explicit Test3(Test1&& test1) : state(State::MOVE_CONSTRUCTED_FROM_TEST1) { in TEST() argument
934 explicit Test3(const Optional<Test1>&) in TEST() function
936 explicit Test3(Optional<Test1>&& test1) in TEST() argument
942 Test3& operator=(const Test1&) { in TEST() argument
946 Test3& operator=(Test1&& test1) { in TEST() argument
951 Test3& operator=(const Optional<Test1>&) { in TEST() argument
955 Test3& operator=(Optional<Test1>&& test1) { in TEST() argument
968 Optional<Test3> b; in TEST()
974 EXPECT_EQ(Test3::State::COPY_CONSTRUCTED_FROM_OPTIONAL_TEST1, b->state); in TEST()
979 Optional<Test3> b(in_place); in TEST()
985 EXPECT_EQ(Test3::State::COPY_ASSIGNED_FROM_OPTIONAL_TEST1, b->state); in TEST()
990 Optional<Test3> b; in TEST()
996 EXPECT_EQ(Test3::State::MOVE_CONSTRUCTED_FROM_OPTIONAL_TEST1, b->state); in TEST()
1001 Optional<Test3> b(in_place); in TEST()
1007 EXPECT_EQ(Test3::State::MOVE_ASSIGNED_FROM_OPTIONAL_TEST1, b->state); in TEST()
2150 struct Test3 { in TEST() struct
2151 Test3(const Test3&) = default; in TEST()
2152 Test3(Test3&&) noexcept {} in TEST() argument
2178 noexcept(Optional<Test3>(std::declval<Optional<Test3>>())), in TEST()