* decl.c (make_typename_type): s/parameters/arguments/.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / defaulted3.C
blob75e89c8ff0ccc1bd913be7eb68987f579c5eae98
1 // PR c++/37006
2 // { dg-do compile { target c++11 } }
4 template<class T>
5 struct A {
6   template<class U>
7   bool operator==(const A<U>&) = delete; // { dg-message "declared" }
8   operator bool () { return true; }
9 };
11 int main()
13   A<int> a1;
14   A<void> a2;
15   if(a1 == a2) {}               // { dg-error "use" }