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

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