PR c++/81917 - ICE with void_t and partial specialization.
[official-gcc.git] / gcc / testsuite / g++.dg / template / explicit-args3.C
blobc095e6688fdcf764174bce40bfeaf71f8a794212
1 // PR c++/37177
3 template <class T>
4 struct A { };
6 template <class T>
7 void operator+(T, T);           // { dg-error "class or enum" }
9 int main()
11   operator+<int>;               // { dg-error "cannot resolve" }