(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.dg/
ucnid-15-utf8.c
       1  /* Test combinations of UTF-8 in various parts of identifiers.  */
       2  /* { dg-do run } */
       3  /* { dg-xfail-if "" { "powerpc-ibm-aix*" } } */
       4  /* { dg-skip-if "" { ! ucn } } */
       5  /* { dg-options "-std=c99" } */
       6  
       7  extern void abort (void);
       8  
       9  int π = 3;
      10  int π² = 9;
      11  int πp1 = 4;
      12  int twoπ = 6;
      13  int four_plus_π_ = 7;
      14  int 😀ÀÁÂÃÄÅßàáâãäaåbæçèéêcëìígîïð7ñ9__òóô4õöÆ3ÇÈÉÊËabcÌÍÎÏÐÑÒÓÔÕÖ😄😅🤣😂_ÿ = 2;
      15  int π\u03C0 = 9;
      16  
      17  int main() {
      18    if (π != 3)
      19  	abort ();
      20  
      21    if (π² != 9)
      22  	abort ();
      23  
      24    if (πp1 != 4)
      25  	abort ();
      26  
      27    if (twoπ != 6)
      28  	abort ();
      29  
      30    if (four_plus_π_ != 7)
      31  	abort () ;
      32  
      33    if (😀ÀÁÂÃÄÅßàáâãäaåbæçèéêcëìígîïð7ñ9__òóô4õöÆ3ÇÈÉÊËabcÌÍÎÏÐÑÒÓÔÕÖ😄😅🤣😂_ÿ != 2)
      34      abort ();
      35  
      36    if(ππ != π²)
      37      abort ();
      38  }