Searched refs:constexpr_switch_init (Results 1 – 1 of 1) sorted by relevance
71 constexpr int constexpr_switch_init(int n) { in constexpr_switch_init() function87 constexpr int b = constexpr_switch_init(-1); in test_constexpr_init_stmt()89 static_assert(constexpr_switch_init(-2) == 0, ""); in test_constexpr_init_stmt()90 static_assert(constexpr_switch_init(-5) == -1, ""); in test_constexpr_init_stmt()