Issue 10433 - Array sum operation in function template

http://d.puremagic.com/issues/show_bug.cgi?id=10433