1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-tree-forwprop2" } */
5 YY(const YY &v) { e[0] = v.e[0]; e[1] = v.e[1]; e[2] = v.e[2]; }
6 double &y() { return e[1]; }
10 YY direction() const { return v; }
14 if (r.direction().y() < 0.000001) return 0;
17 /* { dg-final { scan-tree-dump-times "&this" 0 "forwprop2" } }*/
18 /* { dg-final { scan-tree-dump-times "&r" 0 "forwprop2" } } */
19 /* { dg-final { cleanup-tree-dump "forwprop2" } } */