summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/20000405-1.c
blob: 64dd2e16882614e3c8f5663654c6d4366d3d91ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// Copyright (C) 2000 Free Software Foundation

// by Alexandre Oliva <oliva@lsd.ic.unicamp.br>
// simplified from libio/floatconv.c

static const double bar[] = { 0 };
int j;

double
foo ()
{
  return bar[j];
}