summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/charset/asm5.c
blob: a4bb01401a99a71615891276b53e259d2b0cf8bf (plain)
1
2
3
4
5
6
7
8
/* Test for string translation.  */
/* { dg-do compile }
   { dg-require-iconv "IBM1047" }
   { dg-final { scan-assembler-not "translate" } } */
void foo (void)
{
  asm ("xx" : : "r"("translate") : "cc");
}