It will prefer the non-template method.
From 14.8.3:
Note also that 13.3.3 specifies that a non-template function will be given preference over a template specialization if the two functions are otherwise equally good candidates for an overload match.
And a part from 13.3.3:
Given these definitions, a viable function F1 is defined to be a better function than another viable function F2 if for all arguments i, ICSi(F1) is not a worse conversion sequence than ICSi(F2), and then
(...)
- F1 is a non-template function and F2 is a function template specialization, or, if not that,
(...)