diff options
author | Stephen Kelly <steveire@gmail.com> | 2014-03-19 12:32:59 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2014-04-08 09:05:54 (GMT) |
commit | 0685ac6edc8f9285e7b12d32a182e569a372856c (patch) | |
tree | f3f805a955f1388e51c3701ee661951c879583f4 /Tests/CompileFeatures/cxx_override.cpp | |
parent | 57ac6a905c33211af420aaf1e7fc14b3871a7b16 (diff) | |
download | CMake-0685ac6edc8f9285e7b12d32a182e569a372856c.zip CMake-0685ac6edc8f9285e7b12d32a182e569a372856c.tar.gz CMake-0685ac6edc8f9285e7b12d32a182e569a372856c.tar.bz2 |
Features: Add cxx_override.
Diffstat (limited to 'Tests/CompileFeatures/cxx_override.cpp')
-rw-r--r-- | Tests/CompileFeatures/cxx_override.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Tests/CompileFeatures/cxx_override.cpp b/Tests/CompileFeatures/cxx_override.cpp new file mode 100644 index 0000000..55bec13 --- /dev/null +++ b/Tests/CompileFeatures/cxx_override.cpp @@ -0,0 +1,7 @@ + +struct A { + virtual void doNothing() {} +}; +struct B : A { + void doNothing() override {} +}; |