[clang] [clang] Document CWG3129 as resolved (PR #206335)
Vlad Serebrennikov via cfe-commits
cfe-commits at lists.llvm.org
Sun Jun 28 08:49:42 PDT 2026
================
@@ -0,0 +1,20 @@
+// RUN: %clang_cc1 -std=c++98 %s -pedantic-errors -verify=expected
+// RUN: %clang_cc1 -std=c++11 %s -pedantic-errors -verify=expected
+// RUN: %clang_cc1 -std=c++14 %s -pedantic-errors -verify=expected
+// RUN: %clang_cc1 -std=c++17 %s -pedantic-errors -verify=expected
+// RUN: %clang_cc1 -std=c++20 %s -pedantic-errors -verify=expected
+// RUN: %clang_cc1 -std=c++23 %s -pedantic-errors -verify=expected
+// RUN: %clang_cc1 -std=c++2c %s -pedantic-errors -verify=expected
+
+namespace cwg3129 { // cwg3129: 3.0
+
+float huge_f = 1e10000000000F; // expected-warning {{floating-point constant too large}}
----------------
Endilll wrote:
```suggestion
float huge_f = 1e10000000000F;
// expected-warning at -1 {{floating-point constant too large}}
```
https://github.com/llvm/llvm-project/pull/206335
More information about the cfe-commits
mailing list