summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/charset/asm4.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");
}