summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/ucnid-5-utf8.c
blob: 8e104672d13474a90522fe9926d89de6e6720531 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/* { dg-do run } */
/* { dg-skip-if "No dollar in identfiers" { avr-*-* powerpc-ibm-aix* } } */
/* { dg-skip-if "" { ! ucn } } */
/* { dg-options "-std=c99 -fdollars-in-identifiers -g" } */
void abort (void);

int a$b(void) { return 1; }
int a$b😀(void) { return 2; }

int main (void)
{
  
  if (a$b() != 1)
    abort ();

  if (a$b😀() != 2)
	  abort ();
  
  return 0;
}