================ @@ -0,0 +1,19 @@ +// RUN: %clang_cc1 -std=c++17 -fsyntax-only -verify %s +// RUN: %clang_cc1 -std=c++17 -fsyntax-only -verify -fexperimental-new-constant-interpreter %s +// expected-no-diagnostics + +constexpr float InfFloat = __builtin_inff(); +constexpr float NegInfFloat = -__builtin_inff(); + ---------------- lntue wrote:
@hubert-reinterpretcast : I'm waiting for https://github.com/llvm/llvm-project/pull/203066 and I'll update this PR to include all edge cases. https://github.com/llvm/llvm-project/pull/199808 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
