summaryrefslogtreecommitdiffstats
path: root/tools/clang-tidy/test/bugprone-argument-comment.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/clang-tidy/test/bugprone-argument-comment.cpp')
-rw-r--r--tools/clang-tidy/test/bugprone-argument-comment.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/clang-tidy/test/bugprone-argument-comment.cpp b/tools/clang-tidy/test/bugprone-argument-comment.cpp
new file mode 100644
index 0000000000..3099575a35
--- /dev/null
+++ b/tools/clang-tidy/test/bugprone-argument-comment.cpp
@@ -0,0 +1,6 @@
+// bugprone-argument-comment
+
+void f(int x, int y);
+void g() {
+ f(/*y=*/0, /*z=*/0);
+}