blob: 0fd47882f2aa296e96e4dac1aa699e1573462355 [file] [log] [blame]
// PR c++/58810
typedef int F() const;
F f; // { dg-error "cv-qualifier" }
struct A
{
friend F f; // { dg-error "cv-qualifier" }
};