summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/uninit-D.c
blob: ea957e49e98a9211df2c3c6aaae10909e472b8ef (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 "-O -Wuninitialized" } */

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