summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/charset/asm4.c
blob: 59c8d59ff393c0f995aa2b8af59b0ff5dc968d7f (plain)
1
2
3
4
5
6
7
8
9
10
/* Simple asm test.  */
/* { dg-do compile }
   { dg-require-iconv "IBM1047" }
   { dg-final { scan-assembler "foo" } } */
extern int bar;

int main (void)
{
  asm ("foo %0" : "=r" (bar));
}