Files
clang-p2996/clang/test/CodeGenCXX/copy-assign-synthesis-3.cpp
Eli Friedman 50f6aa11cf Improve coverage for test.
llvm-svn: 92440
2010-01-03 01:20:41 +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;
}