PR c++/81917 - ICE with void_t and partial specialization.
[official-gcc.git] / gcc / testsuite / g++.dg / template / nontype15.C
blobdd5f4e78a5f066f6bd893f3083e844f9f708aabb
1 struct foo {
2     typedef int (*fun)(int);
4   static int f(int);    // overload between static & non-static
5   int f();
7   static int g(int);    // non-overloaded static
8 };
10 template<foo::fun>
11 struct f_obj {
12   // something ..
15 int foo::f() {
16   f_obj<f> f1;
17   f_obj<g> f2;
19   return 0;