repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git]
/
clang
/
test
/
CodeGenCXX
/
copy-assign-synthesis-3.cpp
blob
5469d113357e02b56bbc57eea40028ba1b7c97ba
1
// RUN: %clang_cc1 -emit-llvm-only -verify %s
2
// expected-no-diagnostics
3
4
struct
A
{
5
A
&
operator
=(
A
&);
6
};
7
8
struct
B
{
9
void
operator
=(
B
);
10
};
11
12
struct
C
{
13
A a
;
14
B b
;
15
float
c
;
16
int
(
A
::*
d
)();
17
_Complex
float
e
;
18
int
f
[
10
];
19
A g
[
2
];
20
B h
[
2
];
21
};
22
void
a
(
C
&
x
,
C
&
y
) {
23
x
=
y
;
24
}
25