Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / CodeGenCXX / copy-assign-synthesis-3.cpp
blob5469d113357e02b56bbc57eea40028ba1b7c97ba
1 // RUN: %clang_cc1 -emit-llvm-only -verify %s
2 // expected-no-diagnostics
4 struct A {
5 A& operator=(A&);
6 };
8 struct B {
9 void operator=(B);
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];
22 void a(C& x, C& y) {
23 x = y;