☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
c-c++-common
/
uninit-G.c
☽
☼
gcc/testsuite/c-c++-common/uninit-G.c
code
plain
raw
1
/* Test we do not warn about initializing variable with address of self in the initialization. */
2
/* { dg-do compile } */
3
/* { dg-options "-O -Wuninitialized" } */
4
5
void g(void*);
6
void f()
7
{
8
void *i = &i;
9
g(i);
10
}