c++: robustify testcase [PR109752]
[official-gcc.git] / gcc / testsuite / g++.dg / template / koenig12.C
blobfd05ef5719e2dbaf4577cce6523c32d73ffbbc4f
1 // PR c++/68942
2 // { dg-do compile { target c++11 } }
4 void foo(...) = delete;
6 template <class T> void lookup(T t) { foo(t); }
8 namespace N {
9  struct A { };
10  int foo(A);
13 int main() {
14   lookup(N::A{});