Sign in
gnu
/
gcc
/
a8404c07e7fca388c02c39077865f7d5fa928430
/
.
/
gcc
/
testsuite
/
c-c++-common
/
uninit-G.c
blob: 1a06f0665c19d9c18c5526894834cae8fa2cd447 [
file
] [
log
] [
blame
]
/* Test we do not warn about initializing variable with address of self in the initialization. */
/* { dg-do compile } */
/* { dg-options "-O -Wuninitialized" } */
void
g
(
void
*);
void
f
()
{
void
*
i
=
&
i
;
g
(
i
);
}