diff options
Diffstat (limited to 'tools/clang-tidy/test/bugprone-forward-declaration-namespace.cpp')
-rw-r--r-- | tools/clang-tidy/test/bugprone-forward-declaration-namespace.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/clang-tidy/test/bugprone-forward-declaration-namespace.cpp b/tools/clang-tidy/test/bugprone-forward-declaration-namespace.cpp new file mode 100644 index 0000000000..f93d54b0a1 --- /dev/null +++ b/tools/clang-tidy/test/bugprone-forward-declaration-namespace.cpp @@ -0,0 +1,3 @@ +namespace na { struct A; } +namespace nb { struct A {}; } +nb::A a; |