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
Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git]
/
old-autovect-branch
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
aggregate.C
blob
f739e56d0f2375561c3baeb51214b218ff4a7d43
1
// { dg-do run }
2
struct A { int i; };
3
4
int main()
5
{
6
A a1 = { 42 };
7
A a2 (a1);
8
A a3 = { 137 };
9
a1 = a3;
10
11
if (a1.i == 137 && a2.i == 42 && a3.i == 137)
12
return 0;
13
return 1;
14
}