[PR c++/84702] ICE with default tmpl arg of overload set
[official-gcc.git] / gcc / testsuite / g++.dg / template / mem-partial1.C
blob60cb36aea994c46372d265155ff1ed1ad8556f01
1 // PR c++/14032
3 template <typename T> struct outer {
4   template <typename T2, typename U>
5   struct inner {
6     static int f() { return inner<T,int>::N; };
7   };
9   template <typename U>
10   struct inner<T,U> {
11     static const int N = 1;
12   };
15 int i = outer<int>::inner<double,int>::f();