repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
tree-optimization/116818 - try VMAT_GATHER_SCATTER also for SLP
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.other
/
union1.C
blob
37424a1f4e464892bb04ba4a97ac804a756e7a02
1
// { dg-do assemble }
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; // { dg-bogus "" } non-copy assignment op is OK
16
};