We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9d4ac96 commit 610a27bCopy full SHA for 610a27b
1 file changed
cpp/common/test/rules/unusedtypedeclarations/test.cpp
@@ -107,9 +107,8 @@ template <class T> class X { // COMPLIANT - template class never instantiated
107
template <class T> class Y {}; // COMPLIANT - used in the test case below
108
109
// Alias templates
110
-template <typename T> using Z = Y<T>; // COMPLIANT - used below
111
-template <typename T>
112
-using AA = Y<T>; // NON_COMPLIANT - never instantiated
+template <typename T> using Z = Y<T>; // COMPLIANT - used below
+template <typename T> using AA = Y<T>; // NON_COMPLIANT - never instantiated
113
114
void test_alias_template() { Z<int> v; }
115
0 commit comments