================
@@ -29,6 +27,25 @@ static_assert(noexcept(noexcept(f())), "");
 #endif
 } // namespace cwg3128
 
+namespace cwg3129 { // cwg3129: 3.0
+
+float huge_f = 1e10000000000F;
+// expected-warning-re@-1 {{{{magnitude of floating-point constant too large 
for type 'float'.*}}}}
----------------
Endilll wrote:

```suggestion
// expected-warning-re@-1 {{magnitude of floating-point constant too large for 
type 'float'; the maximum is {{.*}}}}
```

https://github.com/llvm/llvm-project/pull/206335
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to