Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.dg
/
warn
/
Winit-self.C
blob: 60a72741661b13c9b710f59af9220872a6705ba8 [
file
] [
log
] [
blame
]
// PR c++/53210
// { dg-options "-Wall" }
struct
S
{
S
(
int
i
)
:
j
(
j
)
{
}
// { dg-warning "is initialized with itself" }
int
j
;
};