| 1 |
// PR c++/14401 |
| 2 |
|
| 3 |
struct { struct { int& i ; } bar ; } foo ; // { dg-error "deleted|uninitialized" "uninit" } |
| 4 |
// { dg-warning "unnamed" "anon" { target { ! c++11 } } .-1 } |
| 5 |
// { dg-message "should be initialized" "ref-uninit" { target { ! c++11 } } .-2 } |