diff options
Diffstat (limited to '')
-rw-r--r-- | tools/clang-tidy/test/modernize-use-override.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/clang-tidy/test/modernize-use-override.cpp b/tools/clang-tidy/test/modernize-use-override.cpp new file mode 100644 index 0000000000..1cbec3868c --- /dev/null +++ b/tools/clang-tidy/test/modernize-use-override.cpp @@ -0,0 +1,8 @@ +class Base { +public: + virtual void foo() = 0; +}; + +class Deriv : public Base { + void foo(); +}; |