Skip to content

Commit 7462ec8

Browse files
committed
create test.cpp
1 parent d74f0f2 commit 7462ec8

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
void f(
2+
[[maybe_unused]] int i, // compliant
3+
int j, // compliant
4+
int k // compliant
5+
) {
6+
static_cast<void>(i);
7+
(void)j;
8+
std::ignore = k;
9+
}

0 commit comments

Comments
 (0)