blob: 3dab0f2a81b3567bed9e153a1c1fae5d6a87a612 [file] [log] [blame]
Eli Friedmanebc33172009-12-08 01:57:53 +00001// RUN: clang-cc -emit-llvm-only -verify %s
2
3struct A {
4 A& operator=(const A&);
5};
6
7struct B {
8 A a;
9 float b;
10 int (A::*c)();
11 _Complex float d;
12};
13void a(B& x, B& y) {
14 x = y;
15}
16