summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.mike/misc6.C
blob: e3697527dc94b75701c220b90e1a8a3aeff065ab (plain)
1
2
3
4
5
6
7
8
9
10
11
// Build don't link: 
// GROUPS uncaught
// Cfront bug A.4 (See Language System Release Notes for the
// SPARCompiler C++ version 3.0)

struct assign {
  assign& operator = (const assign&);
};
union U {
  assign a;	// ERROR - member of union cannot have op= 9.4// ERROR - .*
};