1 /* { dg-do compile } */
2 /* { dg-options "-O1 -fdump-tree-vars-details" } */
9 inline State(){p0=0;p1=0;p2=0;}
10 inline State(const State &s) {
16 inline void operator =(const State &s) {
22 inline void step(void) {
30 inline void iterate_ok(State &inS1, State &inS2, unsigned int n)
33 for (unsigned int i = 0; i < n; i++) {
49 iterate_ok (s1, s2, 1);
58 /* We should have removed the casts from pointers to references and caused SRA to happen. */
60 /* { dg-final { scan-tree-dump-times "link_error" 0 "vars"} } */
61 /* { dg-final { cleanup-tree-dump "vars" } } */