rt_gccstream/gcc/testsuite/g++.dg/parse/operator6.C

6 lines
74 B
C

// PR c++/25635
struct A {};
A::operator int(); // { dg-error "class" }