diff options
Diffstat (limited to 'clang/test/Modules/Inputs/cxx-irgen-top.h')
| -rw-r--r-- | clang/test/Modules/Inputs/cxx-irgen-top.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/clang/test/Modules/Inputs/cxx-irgen-top.h b/clang/test/Modules/Inputs/cxx-irgen-top.h index 8753d8daa3d..0ab586f7ae1 100644 --- a/clang/test/Modules/Inputs/cxx-irgen-top.h +++ b/clang/test/Modules/Inputs/cxx-irgen-top.h @@ -14,3 +14,21 @@ template<typename T> struct CtorInit { int a; CtorInit() : a(f()) {} }; + +namespace ImplicitSpecialMembers { + struct A { + A(const A&); + }; + struct B { + A a; + B(int); + }; + struct C { + A a; + C(int); + }; + struct D { + A a; + D(int); + }; +} |

