Skip to content

Commit 5c60c39

Browse files
committed
Fix test formatting
1 parent 95ef81f commit 5c60c39

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

cpp/common/test/rules/unusedtypedeclarations/UnusedTypeDeclarations.expected

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
| test.cpp:13:11:13:11 | D | Type declaration D is not used. |
44
| test.cpp:77:11:77:11 | R | Type declaration R is not used. |
55
| test.cpp:90:12:90:12 | (unnamed class/struct/union) | Type declaration (unnamed class/struct/union) is not used. |
6-
| test.cpp:112:7:112:8 | AA | Type declaration AA is not used. |
6+
| test.cpp:112:29:112:30 | AA | Type declaration AA is not used. |
77
| test.cpp:127:7:127:12 | Nested | Type declaration Nested is not used. |
88
| test.cpp:136:9:136:20 | UnusedNested | Type declaration UnusedNested is not used. |
99
| test.cpp:139:7:139:22 | NestedBlockScope | Type declaration NestedBlockScope is not used. |

cpp/common/test/rules/unusedtypedeclarations/test.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,8 +108,8 @@ template <class T> class Y {}; // COMPLIANT - used in the test case below
108108

109109
// Alias templates
110110
template <typename T> using Z = Y<T>; // COMPLIANT - used below
111-
template <typename T>
112-
using AA = Y<T>; // NON_COMPLIANT - never instantiated
111+
112+
template <typename T> using AA = Y<T>; // NON_COMPLIANT - never instantiated
113113

114114
void test_alias_template() { Z<int> v; }
115115

0 commit comments

Comments
 (0)