Sign in
chromium
/
chromiumos
/
third_party
/
gcc
/
refs/heads/factory-ryu-6486.B
/
.
/
gcc
/
testsuite
/
g++.dg
/
ext
/
anon-struct4.C
blob: 0097ba1244c2ebb312bf0661050be539dd988690 [
file
] [
log
] [
blame
]
// PR c++/14401
struct
{
struct
{
int
&
i
;
}
bar
;
}
foo
;
// { dg-error "deleted|uninitialized" "uninit" }
// { dg-warning "anonymous" "anon" { target { ! c++11 } } 3 }
// { dg-message "should be initialized" "ref-uninit" { target { ! c++11 } } 3 }