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