aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elf/pr2404a.c
blob: 4b2b5a94106cf787d7efbfd95f5f21a596b94b8a (plain)
1
2
3
4
5
6
7
8
9
10
#include <time.h>
#include <sys/times.h>

int
bar (void)
{
  struct tms buf;
  clock_t ticks = times (&buf);
  return ticks == 0 && time (NULL) == 0;
}