1 // { dg-do compile { target c++11 } }
2 
3 [[nodiscard]] int f();
4 
main()5 int main()
6 {
7   f();				// { dg-warning "" }
8 }
9