(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.dg/
c11-binary-constants-2.c
       1  /* Test that binary constants are diagnosed in C11 mode: -pedantic-errors.  */
       2  /* { dg-do compile } */
       3  /* { dg-options "-std=c11 -pedantic-errors" } */
       4  
       5  int a = 0b1; /* { dg-error "binary constants" } */
       6  #if 0b101 /* { dg-error "binary constants" } */
       7  #endif
       8  
       9  int b = 0B1; /* { dg-error "binary constants" } */
      10  #if 0B101 /* { dg-error "binary constants" } */
      11  #endif