summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/20020709-1.c
blob: af0e1ddf4696e259a6685be629fc2d321ac27093 (plain)
1
2
3
4
5
6
7
extern double atof (__const char *__nptr) __attribute__ ((__pure__));

void bar (char *s)
{
  union {double val; unsigned int a, b;} u;
  u.val = atof (s);
}