Home | History | Annotate | Download | only in Inputs
      1 #include "cxx-irgen-top.h"
      2 
      3 inline int h() { return S<int>::f(); }
      4 
      5 namespace ImplicitSpecialMembers {
      6   inline void create_right() {
      7     // Trigger declaration, but not definition, of special members.
      8     B b(0); C c(0); D d(0);
      9     // Trigger definition of move constructor.
     10     B b2(static_cast<B&&>(b));
     11     D d2(static_cast<D&&>(d));
     12   }
     13 }
     14