Lines Matching refs:A
19 class A { class
27 A() {} in A() function in A
33 ~A() {} in ~A()
71 A a; in test_const_ref()
72 const A& b = a; in test_const_ref()
73 const A& c = A(); in test_const_ref()
97 const int &x = A().x; in test_const_ref_to_field()
125 const int &x = A().*&A::x; in test_pointer_to_member()
159 const A &x; in test_aggregate_lifetime_extension()
162 B b = {A()}; in test_aggregate_lifetime_extension()
163 B bb[2] = {A(), A()}; in test_aggregate_lifetime_extension()
241 const A (&z)[2]; in test_aggregate_array_lifetime_extension()
249 C c = {{A(), A()}}; in test_aggregate_array_lifetime_extension()
250 C cc[2] = {{{A(), A()}}, {{A(), A()}}}; in test_aggregate_array_lifetime_extension()
345 A y; in test_aggregate_with_nontrivial_own_destructor()
346 A w[2]; in test_aggregate_with_nontrivial_own_destructor()
353 D d = {A(), {A(), A()}}; in test_aggregate_with_nontrivial_own_destructor()
354 D dd[2] = {{A(), {A(), A()}}, {A(), {A(), A()}}}; in test_aggregate_with_nontrivial_own_destructor()
372 A a[2]; in test_array()
373 A b[0]; in test_array()
400 A a; in test_scope()
401 { A c; in test_scope()
402 A d; in test_scope()
404 A b; in test_scope()
439 A a; in test_return()
440 A b; in test_return()
442 A c; in test_return()
504 A a; in test_goto()
506 A b; in test_goto()
507 { A a; in test_goto()
510 A b; in test_goto()
513 A c; in test_goto()
558 A a; in test_if_implicit_scope()
559 if (A b = a) in test_if_implicit_scope()
560 A c; in test_if_implicit_scope()
561 else A c; in test_if_implicit_scope()
644 A a; in test_if_jumps()
645 if (A b = a) { in test_if_jumps()
646 A c; in test_if_jumps()
648 A d; in test_if_jumps()
650 A c; in test_if_jumps()
652 A d; in test_if_jumps()
654 A e; in test_if_jumps()
699 A a; in test_while_implicit_scope()
700 while (A b = a) in test_while_implicit_scope()
701 A c; in test_while_implicit_scope()
790 A a; in test_while_jumps()
791 while (A b = a) { in test_while_jumps()
792 A c; in test_while_jumps()
796 A d; in test_while_jumps()
798 A e; in test_while_jumps()
822 do A a; in test_do_implicit_scope()
899 A a; in test_do_jumps()
901 A b; in test_do_jumps()
905 A c; in test_do_jumps()
907 A d; in test_do_jumps()
942 A a; in test_switch_implicit_scope()
943 switch (A b = a) in test_switch_implicit_scope()
944 A c; in test_switch_implicit_scope()
1018 A a; in test_switch_jumps()
1019 switch (A b = a) { in test_switch_jumps()
1021 A c; in test_switch_jumps()
1024 A f; in test_switch_jumps()
1029 A g; in test_switch_jumps()
1074 for (A a; A b = a; ) in test_for_implicit_scope()
1075 A c; in test_for_implicit_scope()
1168 A a; in test_for_jumps()
1169 for (A b; A c = b; ) { in test_for_jumps()
1170 A d; in test_for_jumps()
1174 A e; in test_for_jumps()
1176 A f; in test_for_jumps()
1194 } catch (const A& e) { in test_catch_const_ref()
1214 } catch (A e) { in test_catch_copy()