☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
warn
/
Winit-self.C
☽
☼
gcc/testsuite/g++.dg/warn/Winit-self.C
code
plain
raw
1
// PR c++/53210
2
// { dg-options "-Wall" }
3
4
struct S
5
{
6
S(int i) : j(j) { } // { dg-warning "is initialized with itself" }
7
int j;
8
};