diff options
author | Anders Carlsson <andersca@mac.com> | 2010-03-30 03:30:08 +0000 |
---|---|---|
committer | Anders Carlsson <andersca@mac.com> | 2010-03-30 03:30:08 +0000 |
commit | 9d08fc1cd28098e2d8156e30dd38691dc8d93d04 (patch) | |
tree | 8b6719a0a11528fb996a0e31a039568fdd517f3c /clang/test/CodeGenCXX/copy-constructor-synthesis.cpp | |
parent | 093bdff0c55689b272e24c7934f7220b5d5279ab (diff) | |
download | bcm5719-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.cpp | 1 |
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. |