summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/parse/operator6.C
blob: c13860efd809e501f4cabf4967c0281208dd0019 (plain)
1
2
3
4
5
6
// PR c++/25635

struct A {}; // { dg-message "defined here" }

A::operator int(); // { dg-error "no declaration matches" }
// { dg-message "no conversion operators" "" { target *-*-* } .-1 }