================
@@ -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@-1 {{floating-point constant too large}}
```
https://github.com/llvm/llvm-project/pull/206335
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits