modernc.org/ccgo/v3@v3.16.14/lib/testdata/gcc-9.1.0/gcc/testsuite/gcc.c-torture/compile/pr44197.c (about)

     1  /* { dg-require-alias "" } */
     2  /* { dg-require-visibility "" } */
     3  
     4  #ifndef __USER_LABEL_PREFIX__
     5  #define PREFIX ""
     6  #else
     7  #define xstr(s) str(s)
     8  #define str(s)  #s
     9  #define PREFIX  xstr(__USER_LABEL_PREFIX__)
    10  #endif
    11  
    12  typedef unsigned short int __uint16_t;
    13  enum
    14  {
    15    _ISupper = (1 << (0)), _ISlower = (1 << (1)), _ISalpha =
    16      (1 << (2)), _ISdigit = (1 << (3)), _ISxdigit = (1 << (4)), _ISspace =
    17      (1 << (5)), _ISprint = (1 << (6)), _ISgraph = (1 << (7)), _ISblank =
    18      (1 << (8)), _IScntrl = (1 << (9)), _ISpunct = (1 << (10)), _ISalnum =
    19      (1 << (11))
    20  };
    21  typedef __uint16_t __ctype_mask_t;
    22  extern const __ctype_mask_t *__C_ctype_b;
    23  extern
    24  __typeof (__C_ctype_b)
    25     __C_ctype_b __asm__ (PREFIX "__GI___C_ctype_b")
    26    __attribute__ ((visibility ("hidden")));
    27       static const __ctype_mask_t __C_ctype_b_data[] = {
    28       };
    29  
    30  const __ctype_mask_t *__C_ctype_b = __C_ctype_b_data + 128;
    31  extern
    32  __typeof (__C_ctype_b)
    33       __EI___C_ctype_b __attribute__ ((alias ("" "__GI___C_ctype_b")));