summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/ucnid-16-utf8.c
blob: 0b9befa4ad8f79affe3120bf488c50340d71122b (plain)
1
2
3
4
5
6
7
/* { dg-do compile } */
/* { dg-require-iconv "latin1" } */
/* { dg-options "-std=c99 -g -finput-charset=latin1" } */
/* { dg-final { scan-file ucnid-16-utf8.s "²" } } */

/* This superscript is encoded in latin1; verify that we still get UTF-8 in the output.  */
int x = 9;