summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.other/friend5.C
blob: 44f16678a23a55c66af9755d8539dd800691660e (plain)
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
};