diff options
Diffstat (limited to 'clang/test/Modules/cxx-templates.cpp')
| -rw-r--r-- | clang/test/Modules/cxx-templates.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/clang/test/Modules/cxx-templates.cpp b/clang/test/Modules/cxx-templates.cpp index b3ef3f6497b..3833e995c52 100644 --- a/clang/test/Modules/cxx-templates.cpp +++ b/clang/test/Modules/cxx-templates.cpp @@ -12,6 +12,7 @@ @import cxx_templates_a; @import cxx_templates_b; @import cxx_templates_c; +@import cxx_templates_d; @import cxx_templates_common; template<typename, char> struct Tmpl_T_C {}; @@ -145,9 +146,11 @@ MergeSpecializations<bool>::explicitly_specialized_in_c spec_in_c_2; using AliasTemplateMergingTest = WithAliasTemplate<int>::X<char>; -int AnonymousDeclsMergingTest(WithAnonymousDecls<int> WAD) { +int AnonymousDeclsMergingTest(WithAnonymousDecls<int> WAD, WithAnonymousDecls<char> WADC) { return InstantiateWithAnonymousDeclsA(WAD) + - InstantiateWithAnonymousDeclsB(WAD); + InstantiateWithAnonymousDeclsB(WAD) + + InstantiateWithAnonymousDeclsB2(WADC) + + InstantiateWithAnonymousDeclsD(WADC); } @import cxx_templates_common; |

