[libc-commits] [libc] [libc] Support C23 'b' (binary) modifier in	printf (PR #80851)
    via libc-commits 
    libc-commits at lists.llvm.org
       
    Wed Feb  7 09:52:08 PST 2024
    
    
  
================
@@ -533,6 +642,10 @@ TEST(LlvmLibcSPrintfTest, OctConv) {
   EXPECT_EQ(written, 3);
   ASSERT_STREQ(buff, "135");
 
+  written = LIBC_NAMESPACE::sprintf(buff, "%3b", 0b111);
----------------
michaelrj-google wrote:
I think you put this in the wrong spot
https://github.com/llvm/llvm-project/pull/80851
    
    
More information about the libc-commits
mailing list