(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.dg/
format/
ext-10.c
       1  /* Test for scanf format extensions using formats from C2X.  */
       2  /* { dg-do compile } */
       3  /* { dg-options "-std=gnu2x -Wformat" } */
       4  
       5  #include "format.h"
       6  
       7  void
       8  foo (u_quad_t *uqp, unsigned long long int *ullp)
       9  {
      10    /* Deprecated length modifiers with %b.  */
      11    scanf ("%qb", uqp);
      12    scanf ("%Lb", ullp);
      13  }