diff options
Diffstat (limited to 'test/Modules/Inputs/merge-template-members/c.h')
-rw-r--r-- | test/Modules/Inputs/merge-template-members/c.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/test/Modules/Inputs/merge-template-members/c.h b/test/Modules/Inputs/merge-template-members/c.h new file mode 100644 index 0000000..92f20a0 --- /dev/null +++ b/test/Modules/Inputs/merge-template-members/c.h @@ -0,0 +1,14 @@ +namespace N { + template <typename> struct A { + int n; + A() : n() {} + }; + + // Trigger instantiation of definition of A<int>. + struct C { + A<int> a; + }; +} + +// Merge in another declaration and update records. +#include "b1.h" |