﻿id	summary	reporter	owner	description	type	status	priority	component	version	resolution	keywords	cc
74	Generic reference member generates incorrect code	Rob Schluntz	Rob Schluntz <rschlunt@…>	"{{{
 forall( otype T )
 struct S { T i; };

 struct R {
     S(int) & s;
 };

 cfa test.c
 CFA Version 1.0.0 (debug)
 test.c: In function '___operator_assign__F2sR_R2sR2sR_autogen___1':
 test.c:5:14: error: expected identifier or '(' before ')' token
      S(int) & s;
             ^
 test.c:5:13: error: '_temp1' undeclared (first use in this function)
      S(int) & s;
            ^~~   
 test.c:5:13: note: each undeclared identifier is reported only once for each function it appears in
}}}
The problem is this line of generated code:
{{{
   struct S()  _temp1;
}}}
which is not C. This temporary is generated by the Box pass. May be related to #7."	defect	closed	major	cfa-cc	1.0	fixed		
