================ @@ -416,3 +416,38 @@ static_assert( // expected-note@-1 {{read of dereferenced one-past-the-end pointer is not allowed in a constant expression}} ); } + +// taken from: https://github.com/llvm/llvm-project/issues/139818 +namespace GH139818{ ---------------- Mr-Anyone wrote:
I have moved the test to `cxx2a-consteval.cpp` is that ok? Also, thanks for reviewing. https://github.com/llvm/llvm-project/pull/140278 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits