Lines Matching refs:constexpr
12 extern constexpr int function();
13 constexpr int test(bool b) { return b ? variable : function(); } in test()
18 extern constexpr int function();
21 constexpr int N_test(bool b) { return b ? N::variable : N::function(); } in N_test()
25 constexpr int C_test(bool b) { return b ? C::variable : C::function(); } in C_test()
30 static constexpr int function();
33 constexpr int D_test(bool b) { return b ? D::variable : D::function(); } in D_test()
39 constexpr int tu_variable_test = test(true);
40 constexpr int tu_function_test = test(false);
43 constexpr int ns_variable_test = N_test(true);
44 constexpr int ns_function_test = N_test(false);
47 constexpr int struct_variable_test = C_test(true);
48 constexpr int struct_function_test = C_test(false);
51 constexpr int merged_struct_variable_test = D_test(true);
52 constexpr int merged_struct_function_test = D_test(false);