Nice/testsuite/compiler/expressions/operators/numeric conversion.testsuite,1.4,1.5
Arjan Boeijink <[email protected]>
| Newsgroups | gmane.comp.lang.nice.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/nice/Nice/testsuite/compiler/expressions/operators/numeric
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22573/F:/nice/testsuite/compiler/expressions/operators/numeric
Modified Files:
conversion.testsuite
Log Message:
Implemented binary literals like '0b1111000'.
Index: conversion.testsuite
===================================================================
RCS file: /cvsroot/nice/Nice/testsuite/compiler/expressions/operators/numeric/conversion.testsuite,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** conversion.testsuite 11 Jun 2003 12:21:25 -0000 1.4
--- conversion.testsuite 11 Mar 2005 21:32:02 -0000 1.5
***************
*** 50,51 ****
--- 50,56 ----
void foo(int) {}
void foo(double) {}
+
+ /// PASS
+ assert 0xFF == 0b11111111;
+ assert 0xF000 == 0B1111_0000_0000_0000;
+
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click