diff options
author | Samira Bazuzi <bazuzi@google.com> | 2022-11-30 12:48:42 -0800 |
---|---|---|
committer | Jordan Rupprecht <rupprecht@google.com> | 2022-11-30 12:48:42 -0800 |
commit | f039a2cf107a143ea2c0cf3f2a88ec2400421287 (patch) | |
tree | 597c7c69cba89b6c1b76109644660fc7c7086376 /llvm/lib/CodeGen/CodeGen.cpp | |
parent | b5467ecc0f3b22082023e99412d4148ac41530be (diff) | |
download | llvm-f039a2cf107a143ea2c0cf3f2a88ec2400421287.zip llvm-f039a2cf107a143ea2c0cf3f2a88ec2400421287.tar.gz llvm-f039a2cf107a143ea2c0cf3f2a88ec2400421287.tar.bz2 |
[test] Fix aggregate initialization incompatible with c++20
In C++20, types that declare or delete any constructors are no longer aggregates, breaking compilation of many existing uses of aggregate initialization. In this test, provide a one-arg constructor so that `StructWithoutCopyOrMove{1}` still works.
Diffstat (limited to 'llvm/lib/CodeGen/CodeGen.cpp')
0 files changed, 0 insertions, 0 deletions