blob: d9813fc2b47d1b7709faf491e0a0f66e8997c102 [file] [log] [blame]
// { dg-do compile { target c++11 } }
struct A
{
[[nodiscard]] A();
};
void foo()
{
A(); // { dg-warning "ignoring return value" }
}