From 2fce988e86bc01829142e4362d4eff1af0925147 Mon Sep 17 00:00:00 2001 From: rdivacky Date: Sat, 23 Jan 2010 11:10:26 +0000 Subject: Update clang to r94309. --- test/CodeGenCXX/copy-assign-synthesis-3.cpp | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) (limited to 'test/CodeGenCXX/copy-assign-synthesis-3.cpp') diff --git a/test/CodeGenCXX/copy-assign-synthesis-3.cpp b/test/CodeGenCXX/copy-assign-synthesis-3.cpp index 73c2261..ce4640a 100644 --- a/test/CodeGenCXX/copy-assign-synthesis-3.cpp +++ b/test/CodeGenCXX/copy-assign-synthesis-3.cpp @@ -1,18 +1,24 @@ // RUN: %clang_cc1 -emit-llvm-only -verify %s struct A { - A& operator=(const A&); + A& operator=(A&); }; struct B { + void operator=(B); +}; + +struct C { A a; - float b; - int (A::*c)(); - _Complex float d; - int e[10]; - A f[2]; + B b; + float c; + int (A::*d)(); + _Complex float e; + int f[10]; + A g[2]; + B h[2]; }; -void a(B& x, B& y) { +void a(C& x, C& y) { x = y; } -- cgit v1.1