Merge from mainline (167278:168000).
[official-gcc/graphite-test-results.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" }