commit | 9d08fc1cd28098e2d8156e30dd38691dc8d93d04 | [log] [tgz] |
---|---|---|
author | Anders Carlsson <andersca@mac.com> | Tue Mar 30 03:30:08 2010 +0000 |
committer | Anders Carlsson <andersca@mac.com> | Tue Mar 30 03:30:08 2010 +0000 |
tree | 8b6719a0a11528fb996a0e31a039568fdd517f3c | |
parent | 093bdff0c55689b272e24c7934f7220b5d5279ab [diff] [blame] |
Use the new function in EmitClassAggrMemberwiseCopy, fixing the same assert as seen in PR6628 but for arrays this time. llvm-svn: 99867
diff --git a/clang/test/CodeGenCXX/copy-constructor-synthesis.cpp b/clang/test/CodeGenCXX/copy-constructor-synthesis.cpp index 3af40cb..9cafd0a 100644 --- a/clang/test/CodeGenCXX/copy-constructor-synthesis.cpp +++ b/clang/test/CodeGenCXX/copy-constructor-synthesis.cpp
@@ -128,6 +128,7 @@ struct B : A { A a1; A a2; + A a[10]; }; // Force the copy constructor to be synthesized.