Merged r158907 through r159238 into branch.
[official-gcc.git] / gcc / testsuite / g++.dg / warn / Wunused-3.C
blob31009094352b39042218c9339b021abcc2a4d547
1 // { dg-do compile }
2 // { dg-options "-Wunused -O" }
4 void do_cleanups();
6 class Cleanup {
7 public:
8     ~Cleanup() { do_cleanups();}
9 };
11 static Cleanup dummy;