blob: 1b086e15694811df62fda053e46fd9a3fd8cd870 [file] [log] [blame]
// PR c++/84375 ICE after error
void foo()
{
struct A
{
friend void A(); // { dg-error "17:friend declaration .void A\\(\\). in local class without prior local" }
};
}