// { dg-do assemble }// { dg-options "-ffriend-injection" }// Bug: g++ ignores the :: qualification and dies trying to treat an integer// variable as a list of functions.classDComplex{public:frienddoubleimag(constDComplex&a);};classFComplex{public:friendfloatimag(constFComplex&a);};voidscnrm2(FComplexcx[]){intimag;::imag(cx[0]);}