libstdc++: Restore unrolling in std::find using pragma [PR116140]
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.jason / scoping12.C
blob38915a7ffab5dfe4274986c856cc13918b3e99e1
1 // { dg-do assemble  }
2 void f ()
4   struct A {
5     friend void g ();   // { dg-error "without prior local declaration" }
6   };
8 void h () {
9   g ();                 // { dg-error "3:'g' was not declared" } no g in scope