summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/execute/980709-1.c
blob: cda80765a6f3f10cc5a130d3c3b623ed9dec43e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include <math.h>

main()
{
  volatile double a;
  double c;
  a = 32.0;
  c = pow(a, 1.0/3.0);
  if (c + 0.1 > 3.174802
      && c - 0.1 < 3.174802)
    exit (0);
  else
    abort ();
}