================ @@ -0,0 +1,9 @@ +// RUN: %clang_cc1 -ffixed-point -S -emit-llvm %s -o - | FileCheck %s + +// CHECK: @_ZL1a = internal constant [2 x i32] zeroinitializer +constexpr _Accum a[2] = {}; ---------------- MaskRay wrote:
Consider a `test/AST/` test like `static_assert(a[0] == 0 && a[0] != 1);` This is not supported by -fexperimental-new-constant-interpreter, but I think it is ok. https://github.com/llvm/llvm-project/pull/80781 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits