﻿id	summary	reporter	owner	description	type	status	priority	component	version	resolution	keywords	cc
41	Duplicate function on generic specialisation	Thierry Delisle	Rob Schluntz <rschlunt@…>	"{{{
forall( dtype T )
struct ptr_t {
	T * ptr;
};

int foo( ptr_t( int ) p ) {
	return 3;
}

int foo( ptr_t( float ) p ) {
	return 4;
}
}}}

yields

{{{
test.c:10:1 error: duplicate function definition for foo: function
  with parameters
    p: instance of struct ptr_t 
      with parameters
        float

  returning 
    _retval_foo:       Attribute with name: unused
signed int
  with body 
    CompoundStmt
      Return Statement, returning: 
          constant expression (4 4: signed int)

}}}
"	defect	closed	major	cfa-cc	1.0	fixed	generic	
