summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/torture/pr40328.c
blob: e378e63c00abbc9c90b2500fd5fb6f2baf142e1f (plain)
1
2
3
4
5
6
7
8
9
10
11
/* { dg-do compile } */
/* { dg-options "-fno-tree-sra" } */

_Complex float foo(void)
{
  _Complex float a[64] = {};
  _Complex float x;
  x =  a[1];
  return x;
}