https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66439
--- Comment #1 from Phil Miller <unmobile at gmail dot com> --- Note that clang (from at least 3.5, possibly earlier) gets this right: > $ clang++-3.5 -c adltest.cpp > adltest.cpp:11:3: error: no matching function for call to 'f' > C::f<3>(b); //ill-formed; argument dependent lookup > ^~~~~~~ > adltest.cpp:6:26: note: candidate template ignored: invalid > explicitly-specified argument for template parameter 'T' > template<class T> void f(T t); > ^