Daniel Dunbar | a572887 | 2009-12-15 20:14:24 +0000 | [diff] [blame^] | 1 | // RUN: %clang_cc1 -emit-llvm-only -verify %s |
Eli Friedman | ebc3317 | 2009-12-08 01:57:53 +0000 | [diff] [blame] | 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 |