xref: /minix3/external/bsd/llvm/dist/clang/test/Modules/Inputs/cxx-irgen-right.h (revision 0a6a1f1d05b60e214de2f05a7310ddd1f0e590e7)
1 #include "cxx-irgen-top.h"
2 
h()3 inline int h() { return S<int>::f(); }
4 
5 namespace ImplicitSpecialMembers {
create_right()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