Fix test-suite fallout of default -Wreturn-type.
[official-gcc.git] / gcc / testsuite / g++.dg / warn / Wnonnull-compare-1.C
blob24a33fc8cc41dcd65d087b9baa95537d9d38531c
1 // PR c++/69850
2 // { dg-do compile }
3 // { dg-options "-Wall" }
5 struct C
7   ~C () { delete this; }        // { dg-bogus "nonnull argument" }
8 };
9 C c;