Update ChangeLog and version files for release
[official-gcc.git] / gcc / testsuite / g++.dg / template / operator10.C
blob448b022905fc109bc43617f8cd032ce8cb1d72ed
1 // PR c++/30535
2 // { dg-prune-output "note" }
4 struct A {};
6 template<A, typename T> int operator-(A, T); // { dg-error "not a valid type" }
8 int i = A() - 0; // { dg-error "no match" }