3 /* { dg-do compile } */
4 /* { dg-options "-O2 -Wall -fdump-tree-forwprop1" } */
5 // No particular reason for choosing forwprop1 dump to look at.
8 struct D : public B {};
13 void operator()(D * d)
21 smart_ptr(D * ptr) : p(ptr) { }
22 ~smart_ptr() { d(p); }
30 smart_ptr p(new D[7]);
41 /* { dg-final { scan-tree-dump-not "= .* \\+ -" "forwprop1" } } */
42 /* { dg-final { cleanup-tree-dump "forwprop1" } } */