Ticket #7019: format_test3.cpp.patch
File format_test3.cpp.patch, 704 bytes (added by , 10 years ago) |
---|
-
libs/format/test/format_test3.cpp
88 88 s = str( format("%2$014x [%1%] %|2$05|\n") % (format("%05s / %s") % -18 % 7) 89 89 %group(showbase, -100) 90 90 ); 91 if( s != "0x0000ffffff9c [-0018 / 7] -0100\n" ){ 91 s2 = "0x0000ffffff9c [-0018 / 7] -0100\n" ; 92 #if defined(__SUNPRO_CC) && defined(_STLP_IOSTREAM) 93 if ( sizeof(long) == 8 ) s2 = "0xffffffffffffff9c [-0018 / 7] -0100\n" ; 94 #endif 95 if( s != s2 ){ 92 96 cerr << s ; 93 97 BOOST_ERROR("nesting did not work"); 94 98 }