﻿id	summary	reporter	owner	description	type	status	priority	component	version	resolution	keywords	cc
163	Incorrect cast in polymorphique returns of builtins	Thierry Delisle	Thierry Delisle	"Given the function 
{{{
forall(dtype T)
static inline T & identity(T & i) {
	return i;
}
}}}
The following code compiles if identity is a regular function but doesn't if it is a CFA builtin.
{{{
struct A { int a; };
void foo( A & a ) {
	printf(""%d %d\n"", a.a, identity(a).a);
}
}}}
"	defect	assigned	major	cfa-cc	1.0			
