summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/uninit-13-O0.c
blob: af80fa88ca97afbb9a372f0a63db583564d1a634 (plain)
1
2
3
4
5
6
7
8
9
10
/* { dg-do compile } */
/* { dg-options "-Wuninitialized" } */

typedef _Complex float C;
C foo()
{
  C f;
  __imag__ f = 0;	/* { dg-warning "is used" "unconditional" { xfail *-*-* } } */
  return f;
}