dot1.C
[
plain text
]
// PR c++/24560
struct
A {
void
f(); };
void
g
() { A().f.a; }
// { dg-error "class" }