aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/baz.c
blob: a13cd16bbbeb684dfc823df6509d6dcf8fd4cfe5 (plain)
1
2
3
4
5
6
7
8
9
static int bazx __attribute__ ((section (".data02"))) = 'b' + 'a' + 'z';

int baz (int x)
{
  if (x)
    return bazx;
  else
    return 0;
}