1 // Test case for the dumb plugin.
3 // { dg-options "-O -fplugin-arg-dumb_plugin-ref-pass-name=ccp -fplugin-arg-dumb_plugin-ref-pass-instance-num=1" }
10 Foo() : a_(a_) {} // { dg-warning "Before genericizing function" }
14 } // { dg-warning "Before genericizing function" }
16 void operator=(Foo& rhs) {
18 } // { dg-warning "Before genericizing function" }
19 }; // { dg-warning "Process struct Foo" }
24 }; // { dg-warning "Process struct Bar" }
43 local_foo = local_foo;
46 bar_array[3].c_ = bar_array[3].c_;
47 bar_array[x+g].b_ = bar_array[x+g].b_;
50 } // { dg-warning "Before genericizing function" }
52 // { dg-warning "Analyze function" "" { target *-*-* } 50 }
53 // { dg-warning "End of compilation unit" "" { target *-*-* } 50 }