diff options
author | Stephen Kelly <steveire@gmail.com> | 2014-03-19 13:32:59 +0100 |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2014-04-08 11:05:54 +0200 |
commit | 0685ac6edc8f9285e7b12d32a182e569a372856c (patch) | |
tree | f3f805a955f1388e51c3701ee661951c879583f4 /Tests/CompileFeatures/cxx_override.cpp | |
parent | 57ac6a905c33211af420aaf1e7fc14b3871a7b16 (diff) | |
download | cmake-0685ac6edc8f9285e7b12d32a182e569a372856c.tar.gz |
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 0000000000..55bec1389a --- /dev/null +++ b/Tests/CompileFeatures/cxx_override.cpp @@ -0,0 +1,7 @@ + +struct A { + virtual void doNothing() {} +}; +struct B : A { + void doNothing() override {} +}; |