PR c++/81917 - ICE with void_t and partial specialization.
[official-gcc.git] / gcc / testsuite / g++.dg / template / pr54310.C
blob94e5f2494c7d955ad85d723f93a4b6c8270836f6
1 // PR c++/54310
3 template <typename T>
4 struct meta
6   typedef typename T::type type;
7 };
9 struct S{};
11 template <typename T>
12 typename meta<T>::type foo(T, S);
14 int foo(int, int);      
16 int main()
18   foo(0, 0);