1 // PR c++/52671 2 // { dg-do compile { target c++11 } } 3 [[gnu::deprecated]] enum E { E0 }; // { dg-warning "ignored in declaration" } 4