view gcc/testsuite/gcc.dg/ucnid-16-utf8.c @ 157:dafe684d005c

...
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Mon, 25 May 2020 18:08:54 +0900
parents 1830386684a0
children
line wrap: on
line source

/* { dg-do compile } */
/* { 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;