blob: 30686a12479a29bc2b72ecafff541ea97dcbc772 [file] [log] [blame]
#include "cxx-irgen-top.h"
inline int h() { return S<int>::f(); }
namespace ImplicitSpecialMembers {
inline void create_right() {
// Trigger declaration, but not definition, of special members.
B b(0); C c(0); D d(0);
// Trigger definition of move constructor.
B b2(static_cast<B&&>(b));
D d2(static_cast<D&&>(d));
}
}