Good question. First, he will choose the version of the template, and the second version - without the template. [Live example]
The reason is because, as the explanation explains, in this expression:
adl(S());
adl , . , adl(S) . .
:
adl(t);
, T ( T). , T. main adl(S). .