| commit | e2648bac3a12407d55b49f2bea5bbbee49a31118 | [log] [tgz] |
|---|---|---|
| author | Richard Smith <richard-llvm@metafoo.co.uk> | Mon May 07 01:07:30 2012 +0000 |
| committer | Richard Smith <richard-llvm@metafoo.co.uk> | Mon May 07 01:07:30 2012 +0000 |
| tree | 676c87afbbb557d5cec437ea734e113a1e28f67e | |
| parent | 0f09df1f523b6217aeaecefb21bce17714d0d0f4 [diff] |
A union can have a constexpr defaulted default constructor, if it has an in-class initializer for one of its fields. Value-initialization of such a type should use the in-class initializer! The former was just a bug, the latter is a (reported) standard defect. llvm-svn: 156274