diff options
Diffstat (limited to 'clang/test/Modules/cxx-templates.cpp')
| -rw-r--r-- | clang/test/Modules/cxx-templates.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/test/Modules/cxx-templates.cpp b/clang/test/Modules/cxx-templates.cpp index 6f5d319a8e5..c173d670802 100644 --- a/clang/test/Modules/cxx-templates.cpp +++ b/clang/test/Modules/cxx-templates.cpp @@ -106,6 +106,8 @@ void g() { int &p = WithPartialSpecializationUse().f(); int &q = WithExplicitSpecializationUse().inner_template<int>(); int *r = PartiallyInstantiatePartialSpec<int*>::bar(); + + (void)&WithImplicitSpecialMembers<int>::n; } static_assert(Outer<int>::Inner<int>::f() == 1, ""); |

