--- /dev/null
+// RUN: %clang_cc1 -std=c2x -verify %s
+// expected-no-diagnostics
+
+/* WG14 N2670: yes
+ * Zeros compare equal
+ */
+_Static_assert(-1 * 0.0 == 0.0, "");
+_Static_assert(!(-1 * 0.0 < 0.0), "");
<tr>
<td>Missing +(x) in table</td>
<td><a href="https://www.open-std.org/jtc1/sc22/wg14/www/docs/n2641.htm">N2641</a></td>
- <td class="unknown" align="center">Unknown</td>
+ <td class="full" align="center">Yes</td>
</tr>
<tr>
<td>Add support for preprocessing directives elifdef and elifndef</td>
<tr>
<td>Zeros compare equal</td>
<td><a href="https://www.open-std.org/jtc1/sc22/wg14/www/docs/n2670.pdf">N2670</a></td>
- <td class="unknown" align="center">Unknown</td>
+ <td class="full" align="center">Yes</td>
</tr>
<tr>
<td>Negative values</td>
<tr>
<td>Numerically equal</td>
<td><a href="https://www.open-std.org/jtc1/sc22/wg14/www/docs/n2716.htm">N2716</a></td>
- <td class="unknown" align="center">Unknown</td>
+ <td class="full" align="center">Yes</td>
</tr>
<tr>
<td>char16_t & char32_t string literals shall be UTF-16 & UTF-32</td>
<tr>
<td>Revised Suggestions of Change for Numerically Equal/Equivalent</td>
<td><a href="https://www.open-std.org/jtc1/sc22/wg14/www/docs/n2847.pdf">N2847</a></td>
- <td class="unknown" align="center">Unknown</td>
+ <td class="full" align="center">Yes</td>
</tr>
<tr>
<td>5.2.4.2.2 Cleanup, Again Again (N2806 update)</td>