Searched refs:copy_ctor (Results 1 – 10 of 10) sorted by relevance
40 int copy_ctor = 0; variable45 A(const A&) {++copy_ctor;} in A()76 assert(copy_ctor == 0); in main()80 assert(copy_ctor == 1); in main()84 assert(copy_ctor == 1); in main()88 assert(copy_ctor == 2); in main()92 assert(copy_ctor == 3); in main()
43 int copy_ctor = 0; variable48 A(const A&) {++copy_ctor;} in A()82 assert(copy_ctor == 0); in main()86 assert(copy_ctor == 1); in main()90 assert(copy_ctor == 1); in main()94 assert(copy_ctor == 2); in main()98 assert(copy_ctor == 3); in main()
40 struct copy_ctor { struct42 copy_ctor(copy_ctor const&); argument44 test(copy_ctor);
44 struct copy_ctor { struct46 copy_ctor(copy_ctor const &); argument48 test(copy_ctor);
22 ; ARGPROMOTION-NEXT: [[CALL:%.*]] = call x86_thiscallcc %struct.a* @copy_ctor(%struct.a* [[TMP1]…32 ; GLOBALOPT_ARGPROMOTION-NEXT: [[CALL:%.*]] = call x86_thiscallcc %struct.a* @copy_ctor(%struct.…40 %call = call x86_thiscallcc %struct.a* @copy_ctor(%struct.a* %1, %struct.a* dereferenceable(1) %a)70 declare x86_thiscallcc %struct.a* @copy_ctor(%struct.a* returned, %struct.a* dereferenceable(1))
43 DomainName copy_ctor(original); in TEST() local44 EXPECT_EQ(copy_ctor.domain_name(), original.domain_name()); in TEST()46 DomainName move_ctor(std::move(copy_ctor)); in TEST()
24 ; CHECK-NEXT: [[CALL:%.*]] = call x86_thiscallcc %struct.a* @copy_ctor(%struct.a* noundef nonnul…32 %call = call x86_thiscallcc %struct.a* @copy_ctor(%struct.a* %1, %struct.a* dereferenceable(1) %a)54 declare x86_thiscallcc %struct.a* @copy_ctor(%struct.a* returned, %struct.a* dereferenceable(1))
28 TEST_CASE(copy_ctor) { in TEST_CASE() argument
29 TEST_CASE(copy_ctor) { in TEST_CASE() argument
546 namespace copy_ctor { namespace