Author: majnemer
Date: Thu Feb 19 01:28:57 2015
New Revision: 229828

URL: http://llvm.org/viewvc/llvm-project?rev=229828&view=rev
Log:
Mark DR1947 as implemented

Modified:
    cfe/trunk/test/CXX/drs/dr19xx.cpp
    cfe/trunk/www/cxx_dr_status.html

Modified: cfe/trunk/test/CXX/drs/dr19xx.cpp
URL: 
http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CXX/drs/dr19xx.cpp?rev=229828&r1=229827&r2=229828&view=diff
==============================================================================
--- cfe/trunk/test/CXX/drs/dr19xx.cpp (original)
+++ cfe/trunk/test/CXX/drs/dr19xx.cpp Thu Feb 19 01:28:57 2015
@@ -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.

Modified: cfe/trunk/www/cxx_dr_status.html
URL: 
http://llvm.org/viewvc/llvm-project/cfe/trunk/www/cxx_dr_status.html?rev=229828&r1=229827&r2=229828&view=diff
==============================================================================
--- cfe/trunk/www/cxx_dr_status.html (original)
+++ cfe/trunk/www/cxx_dr_status.html Thu Feb 19 01:28:57 2015
@@ -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>


_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to