Mark DR1947 as implemented

llvm-svn: 229828
This commit is contained in:
David Majnemer 2015-02-19 07:28:57 +00:00
parent 7da2302780
commit 6440548434
2 changed files with 9 additions and 1 deletions

View File

@ -39,6 +39,14 @@ namespace dr1902 { // dr1902: 3.7
#endif
}
#if __cplusplus >= 201402L
namespace dr1947 { // dr1947: yes
unsigned o = 0'01; // ok
unsigned b = 0b'01; // expected-error {{invalid digit 'b' in octal constant}}
unsigned x = 0x'01; // expected-error {{invalid suffix 'x'01' on integer constant}}
}
#endif
#if __cplusplus >= 201103L
// dr1948: yes
// FIXME: This diagnostic could be improved.

View File

@ -11497,7 +11497,7 @@ and <I>POD class</I></td>
<td><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_closed.html#1947">1947</a></td>
<td>NAD</td>
<td>Digit separators following non-octal prefix</td>
<td class="none" align="center">Unknown</td>
<td class="full" align="center">Yes</td>
</tr>
<tr id="1948">
<td><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_closed.html#1948">1948</a></td>