blob: 96b98b9403f77cee02de2cff135a3ec6660ab474 [file] [log] [blame]
// PR c++/68942
// { dg-do compile { target c++11 } }
// A template-id analogue of koenig12.C.
template <int> void foo(...) = delete;
template <class T> void lookup(T t) { foo<0>(t); }
namespace N {
struct A { };
template <int> int foo(A);
}
int main() {
lookup(N::A{});
}