1 2 3 4 5 6
// { dg-do assemble } // submitted by David C Binderman <dcb@pncl.co.uk> struct A { friend bool(); // { dg-error "" } invalid declaration };