1a7a342d99
From-SVN: r23435
17 lines
226 B
C
17 lines
226 B
C
// Build don't link:
|
|
|
|
class A
|
|
{
|
|
private:
|
|
int myInt;
|
|
|
|
public:
|
|
A& operator = (int right) {myInt = right; return *this;}
|
|
};
|
|
|
|
union B
|
|
{
|
|
char f1;
|
|
A f2; // gets bogus error - non-copy assignment op is OK
|
|
};
|