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

const char *str;

void foobar (void)
{
  str = __FUNCTION__;
}