Skip to content
Commit e2648bac authored by Richard Smith's avatar Richard Smith
Browse files

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
parent 0f09df1f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment