[clang] Update test according to P1937
authorMariya Podchishchaeva <mariya.podchishchaeva@intel.com>
Tue, 7 Mar 2023 16:17:12 +0000 (11:17 -0500)
committerMariya Podchishchaeva <mariya.podchishchaeva@intel.com>
Tue, 7 Mar 2023 16:30:25 +0000 (11:30 -0500)
commitd0db54e0dd3272a044407a6394cae47c84cd3a70
tree74fe08e66bb00fc4b4cad86c424b5d4bdac07f85
parent33912468a7dbd2cdef3648878ccd6b8f99e0b5bf
[clang] Update test according to P1937

https://wg21.link/p1937 proposes that in unevaluated contexts, consteval
functions should not be immediately evaluated.
Clang implemented p1937 a while ago, its behavior is correct and the
test needs an update.

Reviewed By: aaron.ballman, shafik

Differential Revision: https://reviews.llvm.org/D145362
clang/test/CXX/expr/expr.const/p8-2a.cpp