Author: Timm Bäder Date: 2023-09-23T14:15:40+02:00 New Revision: d437e68b5b5a1f0291a0eaa72a07712e7aaccd10
URL: https://github.com/llvm/llvm-project/commit/d437e68b5b5a1f0291a0eaa72a07712e7aaccd10 DIFF: https://github.com/llvm/llvm-project/commit/d437e68b5b5a1f0291a0eaa72a07712e7aaccd10.diff LOG: [clang][Interp][NFC] Enable constexpr-single-element-array test Added: Modified: clang/test/SemaCXX/constexpr-single-element-array.cpp Removed: ################################################################################ diff --git a/clang/test/SemaCXX/constexpr-single-element-array.cpp b/clang/test/SemaCXX/constexpr-single-element-array.cpp index a01b1a1c8f1360c..f94a84bba064d7f 100644 --- a/clang/test/SemaCXX/constexpr-single-element-array.cpp +++ b/clang/test/SemaCXX/constexpr-single-element-array.cpp @@ -1,4 +1,6 @@ // RUN: %clang_cc1 -std=c++20 -verify %s +// RUN: %clang_cc1 -std=c++20 -verify -fexperimental-new-constant-interpreter %s + // This test makes sure that a single element array doesn't produce // spurious errors during constexpr evaluation. _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits