c++: robustify testcase [PR109752]
[official-gcc.git] / gcc / testsuite / g++.dg / parse / operator6.C
blobc13860efd809e501f4cabf4967c0281208dd0019
1 // PR c++/25635
3 struct A {}; // { dg-message "defined here" }
5 A::operator int(); // { dg-error "no declaration matches" }
6 // { dg-message "no conversion operators" "" { target *-*-* } .-1 }