blob: ce4640a7eddb55c273124f5218e876e36fc68cc8 [file] [log] [blame]
Shih-wei Liaof8fd82b2010-02-10 11:10:31 -08001// RUN: %clang_cc1 -emit-llvm-only -verify %s
2
3struct A {
4 A& operator=(A&);
5};
6
7struct B {
8 void operator=(B);
9};
10
11struct C {
12 A a;
13 B b;
14 float c;
15 int (A::*d)();
16 _Complex float e;
17 int f[10];
18 A g[2];
19 B h[2];
20};
21void a(C& x, C& y) {
22 x = y;
23}
24