brintos

brintos / llvm-project-archived public Read only

0
0
Text · 287 B · 5469d11 Raw
26 lines · cpp
1// RUN: %clang_cc1 -emit-llvm-only -verify %s2// expected-no-diagnostics3 4struct A {5  A& operator=(A&);6};7 8struct B {9  void operator=(B);10};11 12struct 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};22void a(C& x, C& y) {23  x = y;24}25 26