repo.or.cz
/
gcc-vect-testsuite.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Add compile command to each testcase
[gcc-vect-testsuite.git]
/
pr22543.cc
blob
f5e55f195ef99eea0bbaa8965b4cf43552b7cea8
1
/* { dg-do compile } */
2
3
struct
A
4
{
5
int
i
,
j
;
6
7
A
() :
i
(),
j
() {}
8
~
A
() {}
9
10
operator
int
() {
return
0
; }
11
};
12
13
struct
B
14
{
15
A
foo
()
const
{
return
A
(); }
16
};
17
18
struct
X
{ ~
X
(); };
19
20
struct
C
21
{
22
C
();
23
24
int
z
[
4
];
25
};
26
27
C
::
C
()
28
{
29
for
(
int
i
=
0
;
i
<
4
; ++
i
)
30
z
[
i
]=
0
;
31
32
X x
;
33
34
for
(
int
i
=
0
;
i
<
4
; ++
i
)
35
int
j
=
B
().
foo
();
36
}
37
38
/* { dg-final { cleanup-tree-dump "vect" } } */