summaryrefslogtreecommitdiffstats
path: root/tools/clang-tidy/test/readability-qualified-auto.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/clang-tidy/test/readability-qualified-auto.cpp')
-rw-r--r--tools/clang-tidy/test/readability-qualified-auto.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/clang-tidy/test/readability-qualified-auto.cpp b/tools/clang-tidy/test/readability-qualified-auto.cpp
new file mode 100644
index 0000000000..03c5164e2c
--- /dev/null
+++ b/tools/clang-tidy/test/readability-qualified-auto.cpp
@@ -0,0 +1,6 @@
+typedef int *MyPtr;
+MyPtr getPtr();
+
+void foo() {
+ auto TdNakedPtr = getPtr();
+}