aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/bar.c
blob: 8a4da9802f8cc6c88154295af547fe85d124c56c (plain)
1
2
3
4
5
6
7
8
9
static int barx __attribute__ ((section (".data01"))) = 'b' + 'a' + 'r';

int bar (int x)
{
  if (x)
    return barx;
  else
    return 0;
}