Home
last modified time | relevance | path

Searched refs:constexpr_switch_init (Results 1 – 2 of 2) sorted by relevance

/external/llvm-project/clang/test/SemaCXX/
Dcxx1z-init-statement.cpp72 constexpr int constexpr_switch_init(int n) { in constexpr_switch_init() function
88 constexpr int b = constexpr_switch_init(-1); in test_constexpr_init_stmt()
90 static_assert(constexpr_switch_init(-2) == 0, ""); in test_constexpr_init_stmt()
91 static_assert(constexpr_switch_init(-5) == -1, ""); in test_constexpr_init_stmt()
/external/clang/test/SemaCXX/
Dcxx1z-init-statement.cpp71 constexpr int constexpr_switch_init(int n) { in constexpr_switch_init() function
87 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()