Debian Codegraph @

gcc/testsuite/g++.dg/warn/Winit-self.C

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 };