summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenCXX/copy-constructor-synthesis.cpp
diff options
context:
space:
mode:
authorAnders Carlsson <andersca@mac.com>2010-03-30 03:30:08 +0000
committerAnders Carlsson <andersca@mac.com>2010-03-30 03:30:08 +0000
commit9d08fc1cd28098e2d8156e30dd38691dc8d93d04 (patch)
tree8b6719a0a11528fb996a0e31a039568fdd517f3c /clang/test/CodeGenCXX/copy-constructor-synthesis.cpp
parent093bdff0c55689b272e24c7934f7220b5d5279ab (diff)
downloadbcm5719-llvm-9d08fc1cd28098e2d8156e30dd38691dc8d93d04.tar.gz
bcm5719-llvm-9d08fc1cd28098e2d8156e30dd38691dc8d93d04.zip
Use the new function in EmitClassAggrMemberwiseCopy, fixing the same assert as seen in PR6628 but for arrays this time.
llvm-svn: 99867
Diffstat (limited to 'clang/test/CodeGenCXX/copy-constructor-synthesis.cpp')
-rw-r--r--clang/test/CodeGenCXX/copy-constructor-synthesis.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/test/CodeGenCXX/copy-constructor-synthesis.cpp b/clang/test/CodeGenCXX/copy-constructor-synthesis.cpp
index 3af40cb4ec1..9cafd0accdb 100644
--- a/clang/test/CodeGenCXX/copy-constructor-synthesis.cpp
+++ b/clang/test/CodeGenCXX/copy-constructor-synthesis.cpp
@@ -128,6 +128,7 @@ struct A {
struct B : A {
A a1;
A a2;
+ A a[10];
};
// Force the copy constructor to be synthesized.
OpenPOWER on IntegriCloud