freebsd-dev/test/CodeGenCXX/copy-assign-synthesis-3.cpp
2010-01-15 15:39:40 +00:00

19 lines
213 B
C++

// RUN: %clang_cc1 -emit-llvm-only -verify %s
struct A {
A& operator=(const A&);
};
struct B {
A a;
float b;
int (A::*c)();
_Complex float d;
int e[10];
A f[2];
};
void a(B& x, B& y) {
x = y;
}