(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.dg/
c2x-binary-constants-3.c
       1  /* Test C2x binary constants.  Invalid constants.  */
       2  /* { dg-do compile } */
       3  /* { dg-options "-std=c2x -pedantic-errors" } */
       4  
       5  int a = 0b; /* { dg-error "invalid suffix" } */
       6  int b = 0B2; /* { dg-error "invalid suffix" } */
       7  int c = 0B02; /* { dg-error "invalid digit" } */
       8  int d = 0b1.1; /* { dg-error "invalid prefix" } */
       9  int e = 0B0p0; /* { dg-error "invalid suffix" } */