summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/charset/extern.c
blob: 05a0c3e42bc8f39bf990cd1a7dfaa0155e620c8c (plain)
1
2
3
4
5
6
7
8
9
10
11
/* { dg-do compile }
   { dg-require-iconv "IBM1047" }
   { dg-final { scan-assembler-not "abcdefghijklmnopqrstuvwxyz" } } */

extern char *bar;

extern void foo (void)
{
   char str[]="abcdefghijklmnopqrstuvwxyz";
   bar = str;
}