OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
* g++.old-deja/g++.other/eh4.C: Fix typo.
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.other
/
union1.C
1
// Build don't link:
2
3
class A
4
{
5
private:
6
int myInt;
7
8
public:
9
A& operator = (int right) {myInt = right; return *this;}
10
};
11
12
union B
13
{
14
char f1;
15
A f2; // gets bogus error - non-copy assignment op is OK
16
};