summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/uninit-D-O0.c
blob: e63cb80aee0f89a413ac74acfd19297715f54e09 (plain)
1
2
3
4
5
6
7
8
9
/* Test we do not warn about initializing variable with self. */
/* { dg-do compile } */
/* { dg-options "-Wuninitialized" } */

int f()
{
  int i = i;
  return i;
}