summaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/foo.c
blob: ada9cf471eeb7f7711e35e70b835e2f7fb955404 (plain)
1
2
3
4
5
6
7
8
9
static int foox __attribute__ ((section (".data00"))) = 'f' + 'o' + 'o';

int foo (int x)
{
  if (x)
    return foox;
  else
    return 0;
}