Deprecate some C++ extensions
[official-gcc.git] / gcc / testsuite / g++.dg / ext / deprecate-2.C
blob5fcab2f6aac685aa3b393cb92e44a4f88ef8c6bf
1 // Stop accepting attributes after a parenthesized initializer
2 // { dg-options "-fpermissive" }
3 int i (0) __attribute__ ((ignored)); // { dg-warning "attributes" }
4 // { dg-message "will be removed" "" { target *-*-* } .-1 }