Debian Codegraph @

gcc/testsuite/g++.dg/other/ucnid-1-utf8.C

raw
1 /* { dg-do run } */
2 /* { dg-options "" } */
3 /* { dg-xfail-if "" { powerpc-ibm-aix* } } */
4 /* { dg-skip-if "" { ! ucn } } */
5 /* { dg-skip-if "requires hosted libstdc++ for cstdlib abort" { ! hostedlib } } */
6 #include <cstdlib>
7
8 int À(void) { return 1; }
9 int Á(void) { return 2; }
10 int Â(void) { return 3; }
11 int whÿ(void) { return 4; }
12 int aÄbсδe(void) { return 5; }
13
14 int main (void)
15 {
16
17 if (À() != 1)
18 abort ();
19 if (Á() != 2)
20 abort ();
21 if (Â() != 3)
22 abort ();
23 if (whÿ() != 4)
24 abort ();
25 if (aÄbсδe() != 5)
26 abort ();
27
28 return 0;
29 }