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

struct A {};

A::operator int(); // { dg-error "class" }