https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123899
--- Comment #1 from Neil Carlson <neil.n.carlson at gmail dot com> --- Note that integer y(0) call sub(y) produces the correct result. So it seems that there is something lacking in the construction of the temporary [integer::] expression that gets passed.
