llvm-project/clang/test/CXX/special/class.inhctor
Richard Smith bc713f6a00 PR48763: Better handling for classes that inherit a default constructor.
The C++ standard wording doesn't appear to properly handle the case
where a class inherits a default constructor from a base class. Various
properties of classes are defined in terms of the corresponding property
of the default constructor, and in this case, the class does not have a
default constructor despite being default-constructible, which the
wording doesn't handle properly.

This change implements a tentative fix for these problems, which has
also been proposed to the C++ committee: if a class would inherit a
default constructor, and does not explicitly declare one, then one is
implicitly declared.
2021-01-18 18:54:04 -08:00
..
elsewhere.cpp
p1.cpp PR48763: Better handling for classes that inherit a default constructor. 2021-01-18 18:54:04 -08:00
p2.cpp PR48763: Better handling for classes that inherit a default constructor. 2021-01-18 18:54:04 -08:00
p3.cpp
p4.cpp
p7.cpp
p8.cpp