Merge topic 'CM_OVERRIDE-clang'

3f77655d CM_OVERRIDE: fix feature test for clang
This commit is contained in:
Brad King 2016-06-30 09:47:28 -04:00 committed by CMake Topic Stage
commit 0639e23920
1 changed files with 2 additions and 0 deletions

View File

@ -1,11 +1,13 @@
struct Foo struct Foo
{ {
Foo() {}
virtual ~Foo() {} virtual ~Foo() {}
virtual int test() const = 0; virtual int test() const = 0;
}; };
struct Bar : Foo struct Bar : Foo
{ {
Bar() {}
~Bar() override {} ~Bar() override {}
int test() const override { return 0; } int test() const override { return 0; }
}; };